%PDF- %PDF-
Direktori : /lib/python3/dist-packages/paramiko/__pycache__/ |
Current File : //lib/python3/dist-packages/paramiko/__pycache__/sftp_file.cpython-312.pyc |
� �echP � � � d Z ddlmZ ddlmZ ddlmZ ddlZddlZddl Z ddl mZ ddlm Z ddlmZmZ dd lmZmZmZmZmZmZmZmZmZmZ dd lmZ G d� de � Zy) z SFTP file object � )�with_statement)�hexlify)�dequeN)�DEBUG)�BufferedFile)�u�long) � CMD_CLOSE�CMD_READ�CMD_DATA� SFTPError� CMD_WRITE� CMD_STATUS� CMD_FSTAT� CMD_ATTRS�CMD_FSETSTAT�CMD_EXTENDED)�SFTPAttributesc �� � e Zd ZdZdZd d�Zd� Zd� Zd!d�Zd� Z d� Z d � Zd � Zd� Z d� Zd � Zd� Zd� Zd"d�Zd� Zd� Zd� Zd� Zd� Zd#d�Zd$d�Zd%d�Zd� Zd� Zd� Zd� Zd� Zd� Z y)&�SFTPFilez� Proxy object for a file on the remote server, in client mode SFTP. Instances of this class may be used as context managers in the same way that built-in Python file objects are. i � c � � t j | � || _ || _ t j | ||� d| _ d| _ d| _ i | _ i | _ t j � | _ d | _ t � | _ y )NF)r �__init__�sftp�handle� _set_mode� pipelined�_prefetching�_prefetch_done�_prefetch_data�_prefetch_extents� threading�Lock�_prefetch_lock�_saved_exceptionr �_reqs)�selfr r �mode�bufsizes �4/usr/lib/python3/dist-packages/paramiko/sftp_file.pyr zSFTPFile.__init__= sw � ����d�#��� �������t�T�7�3����!���#��� ���!#���'�n�n�.��� $����W�� � c �( � | j d�� y )NT��async_��_close�r&