MCPcopy
hub / github.com/docker/compose / Accept

Method Accept

cmd/compose/up_test.go:43–45  ·  cmd/compose/up_test.go::testRemoteLoader.Accept
(path string)

Source from the content-addressed store, hash-verified

41}
42
43func (l testRemoteLoader) Accept(path string) bool {
44 return strings.HasPrefix(path, "test://")
45}
46
47func (l testRemoteLoader) Load(context.Context, string) (string, error) {
48 return l.localPath, nil

Callers 4

isRemoteConfigFunction · 0.45
confirmRemoteIncludesFunction · 0.45
ToProjectMethod · 0.45
setEnvWithDotEnvFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected