%PDF- %PDF-
Direktori : /lib/python3/dist-packages/duplicity/__pycache__/ |
Current File : //lib/python3/dist-packages/duplicity/__pycache__/manifest.cpython-312.pyc |
� �2e5F � �� � d Z ddlZddlZddlmZ ddlmZ ddlmZ G d� de� Z G d� d e � Z G d � de� Z G d� d e � Z ej d� Zd� Zd� Zd� Zy)z-Create and edit manifest for session contents� N)�config)�log)�utilc � � e Zd ZdZy)� ManifestErrorz5 Exception raised when problem with manifest N��__name__� __module__�__qualname__�__doc__� � �4/usr/lib/python3/dist-packages/duplicity/manifest.pyr r � � �� r r c �d � e Zd ZdZdd�Zd� Zd� Zd� Zd� Zd� Z d � Z e Zd � Zd� Z d� Zd � Zd� Zd� Zy)�Manifestz8 List of volumes and information about each one Nc �J � d| _ d| _ i | _ || _ g | _ y)z� Create blank Manifest @param fh: fileobj for manifest @type fh: DupPath @rtype: Manifest @return: manifest N)�hostname� local_dirname�volume_info_dict�fh� files_changed)�selfr s r �__init__zManifest.__init__- s* � � �� �!��� "��������r c � � t j | _ t j j | _ | j r| j r6| j j d| j j � z � | j r1| j j dt | j � z � | S )z� Set information about directory from config, and write to manifest file. @rtype: Manifest @return: manifest � Hostname %s � Localdir %s ) r r � local_path�namer r �write�encode�Quote�r s r �set_dirinfozManifest.set_dirinfo= s� � � ���� �#�.�.�3�3����7�7��}�}���� � �.����1E�1E�1G�G�H��!�!���� � �.��t�7I�7I�1J�J�K��r c �� � t j ry| j r�| j t j k7 r�| j t j k7 r�t d� t j | j fz }t j j }t j t j � � dt j | j � � �}n�| j r�| j t j j k7 r�t dt j j � dt j | j � � �� }t j j }t j t j j � � dt j | j � � �}nyt j"