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

Function _select_all_repos

tests/store_test.py:31–33  ·  view source on GitHub ↗
(store: Store)

Source from the content-addressed store, hash-verified

29
30
31def _select_all_repos(store: Store) -> list[tuple[str, str, str]]:
32 with store.connect() as db:
33 return db.execute('SELECT repo, ref, path FROM repos').fetchall()
34
35
36def test_our_session_fixture_works():

Callers 2

test_cloneFunction · 0.85

Calls 1

connectMethod · 0.80

Tested by

no test coverage detected