MCPcopy Index your code
hub / github.com/pre-commit/pre-commit / gc

Function gc

pre_commit/commands/gc.py:96–98  ·  view source on GitHub ↗
(store: Store)

Source from the content-addressed store, hash-verified

94
95
96def gc(store: Store) -> int:
97 output.write_line(f'{_gc(store)} repo(s) removed.')
98 return 0

Callers 11

mainFunction · 0.90
test_gcFunction · 0.90
test_gc_repo_not_clonedFunction · 0.90

Calls 1

_gcFunction · 0.85