Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AspireStore

Interface
📦 Aspire.Hosting v17.0.0

Represents a store for managing files in the Aspire hosting environment that can be reused across runs.

type AspireStore interface{}

Properties

propertyBasePathstringget
Gets the base path of this store.
BasePath() (string, error)

Methods

Gets a deterministic file path that is a copy of the sourceFilename. The resulting file name will depend on the content of the file.
GetFileNameWithContent(
filenameTemplate string,
sourceFilename string,
) (string, error)
filenameTemplatestringA file name to base the result on.
sourceFilenamestringAn existing file.
(string, error)

A deterministic file path with the same content as sourceFilename.

Returns (string, error).

Applies to

This interface applies to the following types: