b.s.ShelfManager(object) : class documentation

Part of bzrlib.shelf View In Hierarchy

Maintain a list of shelved changes.
Method __init__ Undocumented
Method get_shelf_filename Undocumented
Method get_shelf_ids Undocumented
Method new_shelf Return a file object and id for a new set of shelved changes.
Method shelve_changes Store the changes in a ShelfCreator on a shelf.
Method read_shelf Return the file associated with a shelf_id for reading.
Method get_unshelver Return an unshelver for a given shelf_id.
Method get_metadata Return the metadata associated with a given shelf_id.
Method delete_shelf Delete the shelved changes for a given id.
Method active_shelves Return a list of shelved changes.
Method last_shelf Return the id of the last-created shelved change.
def __init__(self, tree, transport):
Undocumented
def get_shelf_filename(self, shelf_id):
Undocumented
def get_shelf_ids(self, filenames):
Undocumented
def new_shelf(self):
Return a file object and id for a new set of shelved changes.
def shelve_changes(self, creator, message=None):
Store the changes in a ShelfCreator on a shelf.
def read_shelf(self, shelf_id):
Return the file associated with a shelf_id for reading.
Parametersshelf_idThe id of the shelf to retrive the file for.
def get_unshelver(self, shelf_id):
Return an unshelver for a given shelf_id.
Parametersshelf_idThe shelf id to return the unshelver for.
def get_metadata(self, shelf_id):
Return the metadata associated with a given shelf_id.
def delete_shelf(self, shelf_id):
Delete the shelved changes for a given id.
Parametersshelf_idid of the shelved changes to delete.
def active_shelves(self):
Return a list of shelved changes.
def last_shelf(self):
Return the id of the last-created shelved change.
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.