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

Method path

loader/loader_test.go:2407–2409  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

2405}
2406
2407func (c customLoader) path(s string) string {
2408 return filepath.Join("testdata", c.prefix, s[len(c.prefix)+1:])
2409}
2410
2411func (c customLoader) Load(_ context.Context, s string) (string, error) {
2412 path := c.path(s)

Callers 2

LoadMethod · 0.95
DirMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected