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

Function _config_count

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

Source from the content-addressed store, hash-verified

24
25
26def _config_count(store):
27 with store.connect() as db:
28 return db.execute('SELECT COUNT(1) FROM configs').fetchone()[0]
29
30
31def _remove_config_assert_cleared(store, cap_out):

Callers 7

test_gcFunction · 0.85
test_gc_repo_not_clonedFunction · 0.85

Calls 1

connectMethod · 0.80

Tested by

no test coverage detected