- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for isGitRepo (0.15 sec)
-
src/cmd/dist/build.go
// Cache version. writefile(version, path, 0) return version } // isGitRepo reports whether the working directory is inside a Git repository. func isGitRepo() bool { // NB: simply checking the exit code of `git rev-parse --git-dir` would // suffice here, but that requires deviating from the infrastructure // provided by `run`.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:34:40 UTC 2024 - 54K bytes - Viewed (0)