MCPcopy 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
31def 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

cleanFunction · 0.90
existsMethod · 0.80

Tested by

no test coverage detected