Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/go-git/go-git
/ Root
Method
Root
storage/filesystem/dotgit/repository_filesystem.go:109–111 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
107
}
108
109
func
(fs *RepositoryFilesystem) Root() string {
110
return
fs.dotGitFs.Root()
111
}
Callers
15
TestRepositoryFilesystem
Method · 0.95
testPlainOpenGitFile
Method · 0.80
TestPlainOpenBareRelativeGitDirFileTrailingGarbage
Method · 0.80
TestPlainOpenBareRelativeGitDirFileBadPrefix
Method · 0.80
TestPlainOpenDetectDotGit
Method · 0.80
TestPlainCloneContextNonExistentWithNotDir
Method · 0.80
TestPlainCloneContextNonExistentWithNotEmptyDir
Method · 0.80
TestPlainCloneWithRecurseSubmodules
Method · 0.80
TestPlainCloneWithShallowSubmodules
Method · 0.80
TestPlainCloneNoCheckout
Method · 0.80
TestPushWithProgress
Method · 0.80
TestPushDepth
Method · 0.80
Calls
no outgoing calls
Tested by
15
TestRepositoryFilesystem
Method · 0.76
testPlainOpenGitFile
Method · 0.64
TestPlainOpenBareRelativeGitDirFileTrailingGarbage
Method · 0.64
TestPlainOpenBareRelativeGitDirFileBadPrefix
Method · 0.64
TestPlainOpenDetectDotGit
Method · 0.64
TestPlainCloneContextNonExistentWithNotDir
Method · 0.64
TestPlainCloneContextNonExistentWithNotEmptyDir
Method · 0.64
TestPlainCloneWithRecurseSubmodules
Method · 0.64
TestPlainCloneWithShallowSubmodules
Method · 0.64
TestPlainCloneNoCheckout
Method · 0.64
TestPushWithProgress
Method · 0.64
TestPushDepth
Method · 0.64