Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/etcd-io/bbolt
/ IsLeafPage
Method
IsLeafPage
internal/common/page.go:65–67 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
63
}
64
65
func
(p *Page) IsLeafPage() bool {
66
return
p.flags == LeafPageFlag
67
}
68
69
func
(p *Page) IsMetaPage() bool {
70
return
p.flags == MetaPageFlag
Callers
15
Typ
Method · 0.95
IsValidPage
Method · 0.95
PageElementSize
Method · 0.95
recursivelyCheckBucketInPage
Method · 0.80
verifyPageReachable
Function · 0.80
recursivelyCheckPageKeyOrderInternal
Method · 0.80
read
Method · 0.80
corruptRandomLeafPageInBucket
Function · 0.80
Stats
Method · 0.80
search
Method · 0.80
isLeaf
Method · 0.80
ClearPageElements
Function · 0.80
Calls
no outgoing calls
Tested by
4
corruptRandomLeafPageInBucket
Function · 0.64
TestFindPathsToKey_MultipleBuckets
Function · 0.64
testSurgeryClearPageElementsWithoutOverflow
Function · 0.64
TestPageItemCommand_Run
Function · 0.64