MCPcopy Index your code
hub / github.com/linuxkit/linuxkit / Provider

Struct Provider

src/cmd/linuxkit/cache/provider.go:17–23  ·  view source on GitHub ↗

Provider cache implementation of cacheProvider

Source from the content-addressed store, hash-verified

15
16// Provider cache implementation of cacheProvider
17type Provider struct {
18 cache layout.Path
19 store content.Store
20 dir string
21 lock *util.FileLock
22 lockMut sync.Mutex
23}
24
25// NewProvider create a new CacheProvider based in the provided directory
26func NewProvider(dir string) (*Provider, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected