Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
lib
/
python3
/
dist-packages
/
hgext
/
infinitepush
/
__pycache__
📤 Upload
📝 New File
📁 New Folder
Close
Editing: indexapi.cpython-310.pyc
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"