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

Method BuildFilePath

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

Source from the content-addressed store, hash-verified

126}
127
128func (o *StorageEntity) BuildFilePath(fileName string) (ret string) {
129 ret = filepath.Join(o.Dir, fileName)
130 return
131}
132
133func (o *StorageEntity) buildFileName(name string) string {
134 return fmt.Sprintf("%s%v", name, o.FileExtension)

Callers 2

BuildFilePathByNameMethod · 0.95
NewPatternsLoaderFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected