MCPcopy Create free account
hub / github.com/compose-spec/compose-go / Dir

Method Dir

loader/loader.go:125–125  ·  view source on GitHub ↗

Dir computes path to resource"s parent folder, made relative if possible

(path string)

Source from the content-addressed store, hash-verified

123 Load(ctx context.Context, path string) (string, error)
124 // Dir computes path to resource"s parent folder, made relative if possible
125 Dir(path string) string
126}
127
128// RemoteResourceLoaders excludes localResourceLoader from ResourceLoaders

Callers 7

WithDefaultConfigPathFunction · 0.65
GetWorkingDirMethod · 0.65
ApplyIncludeFunction · 0.65
DirMethod · 0.65
getExtendsBaseFromFileFunction · 0.65
DirMethod · 0.65
LoadConfigFilesFunction · 0.65

Implementers 2

customLoaderloader/loader_test.go
localResourceLoaderloader/loader.go

Calls

no outgoing calls

Tested by 1

DirMethod · 0.52