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 �+�bB � @ s0 d dl mZ G dd� de�ZG dd� de�ZdS )� )�absolute_importc @ sp e Zd ZdZdd� Zdd� Zdd� Zdd � Zd d� Zdd � Z dd� Z dd� Zdd� Zdd� Z dd� Zdd� ZdS )�indexapia Class that manages access to infinitepush index. This class is a context manager and all write operations (like deletebookmarks, addbookmark etc) should use `with` statement: with index: index.deletebookmarks(...) ... c C s dS )z*Initializes the metadata store connection.N� ��selfr r �A/usr/lib64/python3.9/site-packages/hgext/infinitepush/indexapi.py�__init__ s zindexapi.__init__c C s dS )z(Cleans up the metadata store connection.Nr r r r r �close s zindexapi.closec C s | S �Nr r r r r � __enter__ s zindexapi.__enter__c C s d S r r )r �exc_typeZexc_valZexc_tbr r r �__exit__ s zindexapi.__exit__c C s t � �dS )zcTakes a bundleid and a list of node contexts for each node in that bundle and records that.N��NotImplementedError)r ZbundleidZnodesctxr r r � addbundle"