MCPcopy Create free account
hub / github.com/celer-pkg/celer / GetRepoCache

Method GetRepoCache

pkgcache/cache_repo_test.go:38–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36func (f fakePkgCache) GetCacheDownloads() bool { return true }
37func (f fakePkgCache) GetArtifactCache() context.AritifactCache { return nil }
38func (f fakePkgCache) GetRepoCache() context.RepoCache {
39 return NewRepoConfig(fakeContext{pkgCache: f}, f.writable)
40}
41
42type fakeDevCache struct{}
43

Callers

nothing calls this directly

Calls 1

NewRepoConfigFunction · 0.85

Tested by

no test coverage detected