Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
39
func
(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
47
func
(t *shared) Count() int {
48
return
t.FreeCount() + t.PendingCount()
Callers
2
Count
Method · 0.95
Copyall
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected