(dep models.Dependency)
| 21 | } |
| 22 | |
| 23 | func UpdateCache(dep models.Dependency) *git.Repository { |
| 24 | if env.GlobalConfiguration.GitEmbedded { |
| 25 | return UpdateCacheEmbedded(dep) |
| 26 | } else { |
| 27 | return UpdateCacheNative(dep) |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | func initSubmodules(dep models.Dependency, repository *git.Repository) { |
| 32 | worktree, err := repository.Worktree() |
no test coverage detected