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

Function _repo_count

tests/commands/gc_test.py:21–23  ·  view source on GitHub ↗
(store)

Source from the content-addressed store, hash-verified

19
20
21def _repo_count(store):
22 with store.connect() as db:
23 return db.execute('SELECT COUNT(1) FROM repos').fetchone()[0]
24
25
26def _config_count(store):

Callers 6

test_gcFunction · 0.85
test_gc_repo_not_clonedFunction · 0.85

Calls 1

connectMethod · 0.80

Tested by

no test coverage detected