Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/pre-commit/pre-commit
/ test_clean_idempotent
Function
test_clean_idempotent
tests/commands/clean_test.py:31–35 ·
view source on GitHub ↗
(store)
Source
from the content-addressed store, hash-verified
29
30
31
def
test_clean_idempotent(store):
32
clean(store)
33
assert not os.path.exists(store.directory)
34
clean(store)
35
assert not os.path.exists(store.directory)
Callers
nothing calls this directly
Calls
2
clean
Function · 0.90
exists
Method · 0.80
Tested by
no test coverage detected