Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
36
def
empty_dir(dir: Path) -> None:
37
assert dir.is_dir()
38
assert dir.exists()
39
assert len(list(dir.iterdir())) == 0
40
41
42
def
test_api(
Callers
2
test_api
Function · 0.85
test_cli
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected