MCPcopy Create free account
hub / github.com/copier-org/copier / empty_dir

Function empty_dir

tests/test_tmpdir.py:36–39  ·  view source on GitHub ↗
(dir: Path)

Source from the content-addressed store, hash-verified

34
35
36def empty_dir(dir: Path) -> None:
37 assert dir.is_dir()
38 assert dir.exists()
39 assert len(list(dir.iterdir())) == 0
40
41
42def test_api(

Callers 2

test_apiFunction · 0.85
test_cliFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected