MCPcopy
hub / github.com/scdl-org/scdl / count_files

Function count_files

tests/test_user.py:7–8  ·  view source on GitHub ↗
(folder: Path)

Source from the content-addressed store, hash-verified

5
6
7def count_files(folder: Path) -> int:
8 return len(list(folder.rglob("*")))
9
10
11def test_all(tmp_path: Path) -> None:

Callers 6

test_allFunction · 0.85
test_tracksFunction · 0.85
test_likesFunction · 0.85
test_commentedFunction · 0.85
test_playlistsFunction · 0.85
test_repostsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected