(pkgCacheDir string, writable bool)
| 100 | } |
| 101 | |
| 102 | func newRepoConfig(pkgCacheDir string, writable bool) *RepoConfig { |
| 103 | return NewRepoConfig(fakeContext{ |
| 104 | pkgCache: fakePkgCache{dir: pkgCacheDir, writable: writable}, |
| 105 | }, writable) |
| 106 | } |
| 107 | |
| 108 | // createArchiveWithSingleDir creates a tar.gz archive that contains a single |
| 109 | // wrapping directory (e.g. lib-1.0/hello.txt). Returns archive path and SHA256. |
no test coverage detected