Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/couchbase/sync_gateway
/ IsRoot
Method
IsRoot
db/revtree.go:36–38 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
34
}
35
36
func
(rev RevInfo) IsRoot() bool {
37
return
rev.Parent ==
""
38
}
39
40
// A revision tree maps each revision ID to its RevInfo.
41
type
RevTree
map
[string]*RevInfo
Callers
3
RepairCycles
Method · 0.80
RenderGraphvizDot
Method · 0.80
LongestBranch
Method · 0.80
Calls
no outgoing calls
Tested by
1
LongestBranch
Method · 0.64