%PDF- %PDF-
| Direktori : /lib/python3/dist-packages/duplicity/__pycache__/ |
| Current File : //lib/python3/dist-packages/duplicity/__pycache__/path.cpython-312.pyc |
�
�2epo � �& � d Z ddlZddlZddlZddlZddlZddlZddlZddlm Z ddlm
Z
ddlmZ ddlmZ ddlm
Z
ddlmZ dd lmZ dd
l� da G d� d
e� Z G d� de� Z G d� de� Z G d� de� Z G d� de� Z G d� de� Zy)z�Wrapper class around a file like "/usr/bin/env"
This class makes certain file operations more convenient and
associates stat information with filenames
� N)�
cached_ops)�config)�dup_time)�file_naming)�gpg)�librsync)�tarfile)�*� c � � e Zd ZdZdZy)�
StatResultz3Used to emulate the output of os.stat() and relatedr N)�__name__�
__module__�__qualname__�__doc__�st_mode� � �0/usr/lib/python3/dist-packages/duplicity/path.pyr
r
1 s � �=� �Gr r
c � � e Zd Zy)�
PathExceptionN)r r r r r r r r 9 s � �r r c �� � e Zd ZdZd d�Zd� Zd� Zd� Zd� Zd� Z d � Z
d
� Zd� Zd� Z
d
� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd!d�Zd� Zd� Zd� Zd� Zd� Z y)"�ROPathz�Read only Path
Objects of this class doesn't represent real files, so they don't
have a name. They are required to be indexed though.
Nc �l � d\ | _ | _ || _ d\ | _ | _ d\ | _ | _ y)zROPath initializer�NNN)�opened�fileobj�index�stat�type�mode�devnums)�selfr r s r �__init__zROPath.__init__E s3 � �$.�!���T�\���
�)��� �4�9�",��� �4�<r c �< � | j sd| _ | j j }t j |� rd| _ n�t j |� rd| _ n�t j
|� rd| _ n�t j |� rd| _ n�t j |� r/t t j | j � � dz � �t j |� rd| _ n(t j |� rd| _ nt d � �t j |� | _ | j d
v rY t j! | j j"