Skip to content
Docs Try Aspire
Docs Try

IAspireStore.getFileNameWithContent

Method
📦 Aspire.Hosting v13.4.0
interface IAspireStore {
// ... omitted for brevity
getFileNameWithContent(
filenameTemplate: string,
sourceFilename: string): string;
}

Signature

method getFileNameWithContent
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
filenameTemplate string
sourceFilename string
string

Defined on

This method is defined on the following type: