GetFileNameWithContent
Method
func (AspireStore) GetFileNameWithContent( filenameTemplate string, sourceFilename string,) (string, error)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, error)Parameters
filenameTemplate stringA file name to base the result on.sourceFilename stringAn existing file.Returns
(string, error) A deterministic file path with the same content as source.
Returns (string, error).
Applies to
This method applies to the following types: