%PDF- %PDF-
| Direktori : /lib/python3/dist-packages/paramiko/__pycache__/ |
| Current File : //lib/python3/dist-packages/paramiko/__pycache__/sftp_attr.cpython-312.pyc |
�
�ec� � �V � d dl Z d dlZd dlmZmZmZmZ d dlmZm Z m
Z
G d� de� Zy)� N)� x80000000�o700�o70� xffffffff)�long�PY2�strftimec � � e Zd ZdZdZdZdZdZeZ d� Z
edd�� Zd � Z
edd
�� Zd� Zd� Zd
� Zedd�� Zd� Zd� ZereZeZyeZy)�SFTPAttributesah
Representation of the attributes of a file (or proxied file) for SFTP in
client or server mode. It attemps to mirror the object returned by
`os.stat` as closely as possible, so it may have the following fields,
with the same meanings as those returned by an `os.stat` object:
- ``st_size``
- ``st_uid``
- ``st_gid``
- ``st_mode``
- ``st_atime``
- ``st_mtime``
Because SFTP allows flags to have other arbitrary named attributes, these
are stored in a dict named ``attr``. Occasionally, the filename is also
stored, in ``filename``.
� � � � c �t � d| _ d| _ d| _ d| _ d| _ d| _ d| _ i | _ y)zX
Create a new (empty) SFTPAttributes object. All fields will be empty.
r N)�_flags�st_size�st_uid�st_gid�st_mode�st_atime�st_mtime�attr��selfs �4/usr/lib/python3/dist-packages/paramiko/sftp_attr.py�__init__zSFTPAttributes.__init__2 s<