| Server IP : 108.167.183.253 / Your IP : 216.73.216.79 Web Server : Apache System : Linux gator4209.hostgator.com 5.14.0-687.39.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Aug 18 06:09:16 EDT 2026 x86_64 User : raghunath ( 2558) PHP Version : 8.3.33 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"