Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ parts
Function
parts
src/_pytest/pathlib.py:424–426 ·
view source on GitHub ↗
(s: str)
Source
from the content-addressed store, hash-verified
422
423
424
def
parts(s: str) -> Set[str]:
425
parts = s.split(sep)
426
return
{sep.join(parts[: i + 1]) or sep
for
i in range(len(parts))}
427
428
429
def
symlink_or_skip(src, dst, **kwargs):
Callers
1
collect
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected