b.c.ConflictList(object) : class documentation

Part of bzrlib.conflicts View In Hierarchy

List of conflicts.

Typically obtained from WorkingTree.conflicts()

Can be instantiated from stanzas or from Conflict subclasses.

Method __init__ Undocumented
Method is_empty Undocumented
Method __len__ Undocumented
Method __iter__ Undocumented
Method __getitem__ Undocumented
Method append Undocumented
Method __eq__ Undocumented
Method __ne__ Undocumented
Method __repr__ Undocumented
Static Method from_stanzas Produce a new ConflictList from an iterable of stanzas
Method to_stanzas Generator of stanzas
Method to_strings Generate strings for the provided conflicts
Method remove_files Remove the THIS, BASE and OTHER files for listed conflicts
Method select_conflicts Select the conflicts associated with paths in a tree.
def __init__(self, conflicts=None):
Undocumented
def is_empty(self):
Undocumented
def __len__(self):
Undocumented
def __iter__(self):
Undocumented
def __getitem__(self, key):
Undocumented
def append(self, conflict):
Undocumented
def __eq__(self, other_list):
Undocumented
def __ne__(self, other_list):
Undocumented
def __repr__(self):
Undocumented
@staticmethod
def from_stanzas(stanzas):
Produce a new ConflictList from an iterable of stanzas
def to_stanzas(self):
Generator of stanzas
def to_strings(self):
Generate strings for the provided conflicts
def remove_files(self, tree):
Remove the THIS, BASE and OTHER files for listed conflicts
def select_conflicts(self, tree, paths, ignore_misses=False, recurse=False):
Select the conflicts associated with paths in a tree.

File-ids are also used for this. :return: a pair of ConflictLists: (not_selected, selected)

API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.