MCPcopy 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
45func (t *treeNoder) isRoot() bool {
46 return t.name == ""
47}
48
49func (t *treeNoder) String() string {
50 return "treeNoder <" + t.name + ">"

Callers 1

ChildrenMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected