File: //usr/lib/python3/dist-packages/hgext/largefiles/__pycache__/localstore.cpython-310.pyc
o
�]Lb� � @ sZ d Z ddlmZ ddlmZ ddlmZ ddlmZ ddl m
Z
mZ G dd � d e
j
�Zd
S )z store class for local filesystem� )�absolute_import)�_)�open)�util� )� basestore�lfutilc s@ e Zd ZdZ� fdd�Zdd� Zdd� Zdd � Zd
d� Z� Z S )�
localstorez�localstore first attempts to grab files out of the store in the remote
Mercurial repository. Failing that, it attempts to grab the files from
the user cache.c s( |� � | _tt| ��||| j�� � d S �N)�local�remote�superr �__init__�url)�self�ui�repor �� __class__� �=/usr/lib/python3/dist-packages/hgext/largefiles/localstore.pyr s
zlocalstore.__init__c C s, t �| j|�r d S t �|t �| j|�� d S r
)r �instorer �link� storepath)r �source�hashr r r �put s zlocalstore.putc C s$ i }|D ]}t �| j|�||<