(rootDir string, repoName string)
| 141 | } |
| 142 | |
| 143 | func createCacheFiles(rootDir string, repoName string) (cacheIndexFile string, cacheChartsFile string) { |
| 144 | cacheIndexFile = filepath.Join(rootDir, helmpath.CacheIndexFile(repoName)) |
| 145 | mf, _ := os.Create(cacheIndexFile) |
| 146 | mf.Close() |
| 147 | |
| 148 | cacheChartsFile = filepath.Join(rootDir, helmpath.CacheChartsFile(repoName)) |
| 149 | mf, _ = os.Create(cacheChartsFile) |
| 150 | mf.Close() |
| 151 | |
| 152 | return cacheIndexFile, cacheChartsFile |
| 153 | } |
| 154 | |
| 155 | func testCacheFiles(t *testing.T, cacheIndexFile string, cacheChartsFile string, repoName string) { |
| 156 | t.Helper() |
no test coverage detected
searching dependent graphs…