File: //usr/lib/python3/dist-packages/duplicity/backends/__pycache__/multibackend.cpython-310.pyc
o
nD!a�= � @ s� d dl mZ e�� d dlZd dlZd dlZd dlZd dlZd dl Zd dl
Z
d dlZd dl
mZ d dlmZ d dlmZ d dlmZ G dd� dejj�Zej�d e� dS )
� )�standard_libraryN)�BackendException)�config)�log)�utilc @ s� e Zd ZdZg Zi Zeg d��ZdZeddg�Z dZ
eddg�ZdZdZ
ed d
� �Zdd� Zd
d� Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� ZdS )�MultiBackendz�Store files across multiple remote stores. URL is a path to a local file
containing URLs/other config defining the remote store)�mode�onfail�subpath�stripe�mirror�continue�abort� r c
C s t j�| �� �}t|j�dkrt� S zt jj|jdd�}W n ty; } zt �
td�|j|f t j� t
d��d }~ww t� }t|�� �D ]9\}}t|�dkrat �
td�|j|f t j� t
d��|tjvrxt �
td �|j|f t j� t
d��|d ||<