mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
wip
This commit is contained in:
parent
49e28eea48
commit
ef464b31ac
3 changed files with 122 additions and 62 deletions
|
|
@ -5,5 +5,7 @@ from pre_commit.store import Store
|
|||
|
||||
|
||||
def gc(store: Store) -> int:
|
||||
output.write_line(f'{store.gc()} repo(s) removed.')
|
||||
installs, clones = store.gc()
|
||||
output.write_line(f'{clones} clone(s) removed.')
|
||||
output.write_line(f'{installs} installs(s) removed.')
|
||||
return 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue