Skip to content
Docs Try Aspire
Docs Try

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

Applies to

This method applies to the following types: