Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pytest-dev/pytest
/ _is_same
Function
_is_same
src/_pytest/pathlib.py:752–753 · src/_pytest/pathlib.py::_is_same
(f1: str, f2: str)
Source
from the content-addressed store, hash-verified
750
if
sys.platform.startswith(
class
="st">"win"):
751
752
def
_is_same(f1: str, f2: str) -> bool:
753
return
Path(f1) == Path(f2) or os.path.samefile(f1, f2)
754
755
else
:
756
Callers
1
import_path
Function · 0.85
Calls
1
samefile
Method · 0.80
Tested by
no test coverage detected