MCPcopy Create free account
hub / github.com/danielmiessler/Fabric / BuildFilePath

Method BuildFilePath

internal/plugins/db/fsdb/storage.go:150–153  ·  view source on GitHub ↗
(fileName string)

Source from the content-addressed store, hash-verified

148}
149
150func (o *StorageEntity) BuildFilePath(fileName string) (ret string) {
151 ret = filepath.Join(o.Dir, fileName)
152 return
153}
154
155func (o *StorageEntity) buildFileName(name string) string {
156 return fmt.Sprintf("%s%v", name, o.FileExtension)

Callers 1

NewPatternsLoaderFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected