(self, path: Union[str, "os.PathLike[str]"])
| 526 | pytest_collectreport = pytest_runtest_logreport |
| 527 | |
| 528 | def isinitpath(self, path: Union[str, "os.PathLike[str]"]) -> bool: |
| 529 | # Optimization: Path(Path(...)) is much slower than isinstance. |
| 530 | path_ = path if isinstance(path, Path) else Path(path) |
| 531 | return path_ in self._initialpaths |
| 532 | |
| 533 | def gethookproxy(self, fspath: "os.PathLike[str]"): |
| 534 | # Optimization: Path(Path(...)) is much slower than isinstance. |
no outgoing calls