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

Method PendingCount

internal/freelist/shared.go:39–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37}
38
39func (t *shared) PendingCount() int {
40 var count int
41 for _, txp := range t.pending {
42 count += len(txp.ids)
43 }
44 return count
45}
46
47func (t *shared) Count() int {
48 return t.FreeCount() + t.PendingCount()

Callers 2

CountMethod · 0.95
CopyallMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected