MCPcopy
hub / github.com/rclone/rclone / EntriesWithPinCount

Function EntriesWithPinCount

fs/cache/cache.go:283–286  ·  view source on GitHub ↗

EntriesWithPinCount returns the number of pinned and unpinned entries in the cache Each entry is counted only once, regardless of entry.pinCount

()

Source from the content-addressed store, hash-verified

281//
282// Each entry is counted only once, regardless of entry.pinCount
283func EntriesWithPinCount() (pinned, unpinned int) {
284 createOnFirstUse()
285 return c.EntriesWithPinCount()
286}

Callers 1

TestPinFileFunction · 0.85

Calls 2

createOnFirstUseFunction · 0.85
EntriesWithPinCountMethod · 0.80

Tested by 1

TestPinFileFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…