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

Method Len

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

Source from the content-addressed store, hash-verified

218type Pages []*Page
219
220func (s Pages) Len() int { return len(s) }
221func (s Pages) Swap(i, j int) { s[i], s[j] = s[j], s[i] }
222func (s Pages) Less(i, j int) bool { return s[i].id < s[j].id }
223

Calls

no outgoing calls