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

Function NewPage

internal/common/page.go:38–45  ·  internal/common/page.go::NewPage
(id Pgid, flags, count uint16, overflow uint32)

Source from the content-addressed store, hash-verified

36}
37
38func NewPage(id Pgid, flags, count uint16, overflow uint32) *Page {
39 return &Page{
40 id: id,
41 flags: flags,
42 count: count,
43 overflow: overflow,
44 }
45}
46
47// Typ returns a human-readable page type string used for debugging.
48func (p *Page) Typ() string {

Calls

no outgoing calls