Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/remotemobprogramming/mob
/ gitRootDir
Function
gitRootDir
mob.go:1018–1020 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1016
}
1017
1018
func
gitRootDir() string {
1019
return
silentgit(
"rev-parse"
,
"--show-toplevel"
)
1020
}
1021
1022
func
squashOrCommit(configuration config.Configuration) string {
1023
if
configuration.DoneSquash == config.Squash {
Callers
5
TestGitRootDir
Function · 0.85
TestGitRootDirWithSymbolicLink
Function · 0.85
run
Function · 0.85
openLastModifiedFileIfPresent
Function · 0.85
getPathOfLastModifiedFile
Function · 0.85
Calls
1
silentgit
Function · 0.85
Tested by
2
TestGitRootDir
Function · 0.68
TestGitRootDirWithSymbolicLink
Function · 0.68