MCPcopy Create free account
hub / github.com/pytest-dev/pytest / find_suffixes

Function find_suffixes

src/_pytest/pathlib.py:174–176  ·  view source on GitHub ↗

Combine find_prefixes and extract_suffixes.

(root: Path, prefix: str)

Source from the content-addressed store, hash-verified

172
173
174def find_suffixes(root: Path, prefix: str) -> Iterator[str]:
175 """Combine find_prefixes and extract_suffixes."""
176 return extract_suffixes(find_prefixed(root, prefix), prefix)
177
178
179def parse_num(maybe_num) -> int:

Callers 2

make_numbered_dirFunction · 0.85
cleanup_candidatesFunction · 0.85

Calls 2

extract_suffixesFunction · 0.85
find_prefixedFunction · 0.85

Tested by

no test coverage detected