()
| 42 | func (f fakePkgCacheConfig) GetCacheDownloads() bool { return true } |
| 43 | func (f fakePkgCacheConfig) GetArtifactCache() context.AritifactCache { return nil } |
| 44 | func (f fakePkgCacheConfig) GetRepoCache() context.RepoCache { |
| 45 | return pkgcache.NewRepoConfig(fakeContext{pkgCacheConfig: f}, f.writable) |
| 46 | } |
| 47 | |
| 48 | // creates a local bare repo that acts like remote origin. |
| 49 | // Using a local origin keeps this test deterministic and network-independent. |
nothing calls this directly
no test coverage detected