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

Function checkHasGitClient

core/gitWrapper/git_native.go:19–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17)
18
19func checkHasGitClient() {
20 command := exec.Command("where", "git")
21 _, err := command.Output()
22 if err != nil {
23 msg.Die("Git.exe not found in path")
24 }
25}
26
27func CloneCacheNative(dep models.Dependency) *git2.Repository {
28 msg.Info("Downloading dependency %s", dep.Repository)

Callers 2

getWrapperCloneFunction · 0.85
getWrapperFetchFunction · 0.85

Calls 1

DieFunction · 0.92

Tested by

no test coverage detected