MCPcopy Index your code
hub / github.com/docker/docker-agent / NewFileSource

Function NewFileSource

pkg/config/sources.go:41–45  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

39}
40
41func NewFileSource(path string) Source {
42 return fileSource{
43 path: path,
44 }
45}
46
47func (a fileSource) Name() string {
48 return a.path

Callers 15

TestLoadExamplesFunction · 0.92
TestAutoRegisterModelsFunction · 0.85
TestAutoRegisterAlloyFunction · 0.85
TestMigrate_v1_providerFunction · 0.85
TestMigrate_v0_v1_todoFunction · 0.85
TestMigrate_v1_todoFunction · 0.85

Calls

no outgoing calls

Tested by 15

TestLoadExamplesFunction · 0.74
TestAutoRegisterModelsFunction · 0.68
TestAutoRegisterAlloyFunction · 0.68
TestMigrate_v1_providerFunction · 0.68
TestMigrate_v0_v1_todoFunction · 0.68
TestMigrate_v1_todoFunction · 0.68