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

Function _select_all_configs

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

Source from the content-addressed store, hash-verified

23
24
25def _select_all_configs(store: Store) -> list[str]:
26 with store.connect() as db:
27 rows = db.execute('SELECT * FROM configs').fetchall()
28 return [path for path, in rows]
29
30
31def _select_all_repos(store: Store) -> list[tuple[str, str, str]]:

Calls 1

connectMethod · 0.80

Tested by

no test coverage detected