Skip to content
DocsTry Aspire
DocsTry

IAspireStore.getFileNameWithContent

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

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
filenameTemplatestring
sourceFilenamestring
string

Defined on

This method is defined on the following type: