MCPcopy
hub / github.com/etcd-io/bbolt / IsFreelistPage

Method IsFreelistPage

internal/common/page.go:73–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71}
72
73func (p *Page) IsFreelistPage() bool {
74 return p.flags == FreelistPageFlag
75}
76
77// IsValidPage checks Page flags correctness, only a single proper flag can be used.
78func (p *Page) IsValidPage() bool {

Callers 5

TypMethod · 0.95
IsValidPageMethod · 0.95
FreelistPageCountMethod · 0.95
FreelistPageIdsMethod · 0.95
ReadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected