MCPcopy
hub / github.com/pytest-dev/pytest / find_suffixes

Function find_suffixes

src/_pytest/pathlib.py:191–193  ·  view source on GitHub ↗

Combine find_prefixes and extract_suffixes.

(root: Path, prefix: str)

Source from the content-addressed store, hash-verified

189
190
191def find_suffixes(root: Path, prefix: str) -> Iterator[str]:
192 """Combine find_prefixes and extract_suffixes."""
193 return extract_suffixes(find_prefixed(root, prefix), prefix)
194
195
196def parse_num(maybe_num: str) -> 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