Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/go-git/go-git
/ isRoot
Method
isRoot
plumbing/object/treenoder.go:45–47 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
43
}
44
45
func
(t *treeNoder) isRoot() bool {
46
return
t.name ==
""
47
}
48
49
func
(t *treeNoder) String() string {
50
return
"treeNoder <"
+ t.name +
">"
Callers
1
Children
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected