Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/hgext/infinitepush/__pycache__/ |
Upload File : |
o �]LbB � @ 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 � dS )z*Initializes the metadata store connection.N� ��selfr r �=/usr/lib/python3/dist-packages/hgext/infinitepush/indexapi.py�__init__ � zindexapi.__init__c C r )z(Cleans up the metadata store connection.Nr r r r r �close r zindexapi.closec C s | S �Nr r r r r � __enter__ � zindexapi.__enter__c C s d S r r )r �exc_type�exc_val�exc_tbr r r �__exit__ r zindexapi.__exit__c C � t � �)zcTakes a bundleid and a list of node contexts for each node in that bundle and records that.��NotImplementedError)r �bundleid�nodesctxr r r � addbundle"