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

Method Load

loader/loader.go:159–161  ·  view source on GitHub ↗
(_ context.Context, p string)

Source from the content-addressed store, hash-verified

157}
158
159func (l localResourceLoader) Load(_ context.Context, p string) (string, error) {
160 return l.abs(p), nil
161}
162
163func (l localResourceLoader) Dir(originalPath string) string {
164 path := l.abs(originalPath)

Callers

nothing calls this directly

Calls 1

absMethod · 0.95

Tested by

no test coverage detected