MCPcopy Create free account
hub / github.com/HashLoad/boss / UpdateCache

Function UpdateCache

core/gitWrapper/git.go:23–29  ·  view source on GitHub ↗
(dep models.Dependency)

Source from the content-addressed store, hash-verified

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

Callers 1

GetDependencyFunction · 0.92

Calls 2

UpdateCacheEmbeddedFunction · 0.85
UpdateCacheNativeFunction · 0.85

Tested by

no test coverage detected