massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / paramiko / paramiko / sftp_attr.pyi
1 from os import stat_result
2
3 class SFTPAttributes:
4     FLAG_SIZE: int
5     FLAG_UIDGID: int
6     FLAG_PERMISSIONS: int
7     FLAG_AMTIME: int
8     FLAG_EXTENDED: int
9     st_size: int | None
10     st_uid: int | None
11     st_gid: int | None
12     st_mode: int | None
13     st_atime: int | None
14     st_mtime: int | None
15     filename: str  # only when from_stat() is used
16     longname: str  # only when from_stat() is used
17     attr: dict[str, str]
18     def __init__(self) -> None: ...
19     @classmethod
20     def from_stat(cls, obj: stat_result, filename: str | None = ...) -> SFTPAttributes: ...
21     def asbytes(self) -> bytes: ...