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

Function ClearPage

internal/surgeon/surgeon.go:19–21  ·  view source on GitHub ↗
(path string, pgId common.Pgid)

Source from the content-addressed store, hash-verified

17}
18
19func ClearPage(path string, pgId common.Pgid) (bool, error) {
20 return ClearPageElements(path, pgId, 0, -1, false)
21}
22
23// ClearPageElements supports clearing elements in both branch and leaf
24// pages. Note if the ${abandonFreelist} is true, the freelist may be cleaned

Callers 1

surgeryClearPageFuncFunction · 0.92

Calls 1

ClearPageElementsFunction · 0.85

Tested by

no test coverage detected