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

Function WithPageId

tx_check.go:270–274  ·  view source on GitHub ↗

WithPageId sets a page ID from which the check command starts to check

(pageId uint64)

Source from the content-addressed store, hash-verified

268
269// WithPageId sets a page ID from which the check command starts to check
270func WithPageId(pageId uint64) CheckOption {
271 return func(c *checkConfig) {
272 c.pageId = pageId
273 }
274}
275
276// KVStringer allows to prepare human-readable diagnostic messages.
277type KVStringer interface {

Callers 2

TestTx_Check_CorruptPageFunction · 0.92

Calls

no outgoing calls

Tested by 2

TestTx_Check_CorruptPageFunction · 0.74