git.reader_stats

git

reader_stats() -> stats

Report the pack reader's state: its cache and its open packs

Returns { cache_bytes = n, cache_entries = n, open_packs = n }. The cache holds resolved packed objects, at most 32 MB of content. At most 16 packs stay open, across every repository the process reads.