Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/etcd-io/bbolt
/ IsBranchPage
Method
IsBranchPage
internal/common/page.go:61–63 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
59
}
60
61
func
(p *Page) IsBranchPage() bool {
62
return
p.flags == BranchPageFlag
63
}
64
65
func
(p *Page) IsLeafPage() bool {
66
return
p.flags == LeafPageFlag
Callers
14
Typ
Method · 0.95
IsValidPage
Method · 0.95
recursivelyCheckBucketInPage
Method · 0.80
verifyPageReachable
Function · 0.80
recursivelyCheckPageKeyOrderInternal
Method · 0.80
forEachPageInternal
Method · 0.80
corruptRandomLeafPageInBucket
Function · 0.80
corruptRootPage
Function · 0.80
Stats
Method · 0.80
_forEachPageNode
Method · 0.80
search
Method · 0.80
ClearPageElements
Function · 0.80
Calls
no outgoing calls
Tested by
4
corruptRandomLeafPageInBucket
Function · 0.64
corruptRootPage
Function · 0.64
TestFindPathsToKey_CycleDetected
Function · 0.64
testSurgeryClearPageElementsWithoutOverflow
Function · 0.64