1 from typing import Callable, ContextManager, Iterator
3 def known_hosts() -> str: ...
4 def st_mode_to_int(val: int) -> int: ...
7 def __init__(self) -> None: ...
8 def file_cb(self, pathname: str) -> None: ...
9 def dir_cb(self, pathname: str) -> None: ...
10 def unk_cb(self, pathname: str) -> None: ...
12 def flist(self) -> list[str]: ...
14 def flist(self, val: list[str]) -> None: ...
16 def dlist(self) -> list[str]: ...
18 def dlist(self, val: list[str]) -> None: ...
20 def ulist(self) -> list[str]: ...
22 def ulist(self, val: list[str]) -> None: ...
24 def path_advance(thepath: str, sep: str = ...) -> Iterator[str]: ...
25 def path_retreat(thepath: str, sep: str = ...) -> Iterator[str]: ...
26 def reparent(newparent: str, oldpath: str) -> str: ...
28 _PathCallback = Callable[[str], None]
31 localpath: str, fcallback: _PathCallback, dcallback: _PathCallback, ucallback: _PathCallback, recurse: bool = ...
33 def cd(localpath: str | None = ...) -> ContextManager[None]: ...