MCPcopy Index your code
hub / github.com/RustPython/RustPython / PathInfo

Class PathInfo

Lib/pathlib/types.py:53–60  ·  view source on GitHub ↗

Protocol for path info objects, which support querying the file type. Methods may return cached results.

Source from the content-addressed store, hash-verified

51
52@runtime_checkable
53class PathInfo(Protocol):
54 """Protocol for path info objects, which support querying the file type.
55 Methods may return cached results.
56 """
57 def exists(self, *, follow_symlinks: bool = True) -> bool: ...
58 def is_dir(self, *, follow_symlinks: bool = True) -> bool: ...
59 def is_file(self, *, follow_symlinks: bool = True) -> bool: ...
60 def is_symlink(self) -> bool: ...
61
62
63class _JoinablePath(ABC):

Callers 1

infoMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected