()
| 10 | ) |
| 11 | |
| 12 | func gitcommand() string { |
| 13 | gitcommand := "git" |
| 14 | if runtime.GOOS == "windows" { |
| 15 | gitcommand = "git.exe" |
| 16 | } |
| 17 | |
| 18 | return gitcommand |
| 19 | } |
| 20 | |
| 21 | // IsInstalled returns true if git is installed for the given platform |
| 22 | func IsInstalled() bool { |
no outgoing calls
no test coverage detected
searching dependent graphs…