MCPcopy
hub / github.com/docker/docker-agent / ParentDir

Method ParentDir

pkg/config/sources.go:30–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28type Source interface {
29 Name() string
30 ParentDir() string
31 Read(ctx context.Context) ([]byte, error)
32}
33

Callers 7

ExtraWorkspaceFunction · 0.65
ParentDirMethod · 0.65
TestURLSource_ReadFunction · 0.65
TestResolve_URLReferenceFunction · 0.65
resolveInstructionFilesFunction · 0.65
LoadWithConfigFunction · 0.65

Implementers 6

mockSourcepkg/server/source_loader_test.go
sourceLoaderpkg/server/source_loader.go
fileSourcepkg/config/sources.go
bytesSourcepkg/config/sources.go
ociSourcepkg/config/sources.go
urlSourcepkg/config/sources.go

Calls

no outgoing calls

Tested by 2

TestURLSource_ReadFunction · 0.52
TestResolve_URLReferenceFunction · 0.52