GetCacheDir returns the base cache directory path
()
| 140 | |
| 141 | // GetCacheDir returns the base cache directory path |
| 142 | func (c *ImportCache) GetCacheDir() string { |
| 143 | return filepath.Join(c.baseDir, ImportCacheDir) |
| 144 | } |
| 145 | |
| 146 | // ensureGitAttributes creates the .gitattributes file in the cache directory if it doesn't exist |
| 147 | func (c *ImportCache) ensureGitAttributes() error { |
no outgoing calls