AspireStore.GetFileNameWithContent

Method
📦 Aspire.Hosting v17.0.0
type AspireStore interface {
// ... omitted for brevity
GetFileNameWithContent(
filenameTemplate string,
sourceFilename string,
) (string, error)
}

Signature

methodGetFileNameWithContent
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).

Defined on

This method is defined on the following type: