MCPcopy Create free account
hub / github.com/remotemobprogramming/mob / isGit

Function isGit

mob.go:1238–1241  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1236}
1237
1238func isGit() bool {
1239 _, _, err := runCommandSilent("git", "rev-parse")
1240 return err == nil
1241}
1242
1243func runCommandSilent(name string, args ...string) (string, string, error) {
1244 command := exec.Command(name, args...)

Callers 7

getMobTimerRoomFunction · 0.85
runFunction · 0.85
silentgitFunction · 0.85
gitFunction · 0.85
gitIgnoreFailureFunction · 0.85

Calls 1

runCommandSilentFunction · 0.85

Tested by 2