Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib64/python3.9/site-packages/hgext/infinitepush/__pycache__/ |
Upload File : |
a �+�b� � @ sR d Z ddlmZ ddlZddlmZ ddlmZ ddlm Z G dd � d e j �Z dS ) z� [infinitepush] # Server-side option. Used only if indextype=disk. # Filesystem path to the index store indexpath = PATH � )�absolute_importN)�util)� stringutil� )�indexapic s� e Zd Z� fdd�Zdd� Zdd� Zdd� Zd d � Zdd� Zd d� Z dd� Z dd� Zdd� Zdd� Z dd� Zdd� Zdd� Zdd� Z� ZS )�fileindexapic sn t t| ��� || _|j�dd�}|s4tj�dd�}tj�|d�| _ tj�|d�| _ tj�|d�| _d | _d S )Ns infinitepushs indexpaths scratchbranchess indexs nodemaps bookmarkmaps nodemetadatamap) �superr �__init__�_repoZuiZconfig�os�path�join�_nodemap�_bookmarkmap�_metadatamap�_lock)�selfZrepo�root�� __class__� �E/usr/lib64/python3.9/site-packages/hgext/infinitepush/fileindexapi.pyr s zfileindexapi.__init__c C s | j �� | _| S �N)r Zwlockr )r r r r � __enter__&