(dep models.Dependency)
| 13 | ) |
| 14 | |
| 15 | func CloneCache(dep models.Dependency) *git.Repository { |
| 16 | if env.GlobalConfiguration.GitEmbedded { |
| 17 | return CloneCacheEmbedded(dep) |
| 18 | } else { |
| 19 | return CloneCacheNative(dep) |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | func UpdateCache(dep models.Dependency) *git.Repository { |
| 24 | if env.GlobalConfiguration.GitEmbedded { |
no test coverage detected