b.p.Hunk : class documentation

Part of bzrlib.patches View In Hierarchy

No class docstring
Method __init__ Undocumented
Method get_header Undocumented
Method range_str Return a file range, special-casing for 1-line files.
Method __str__ Undocumented
Method shift_to_mod Undocumented
Method shift_to_mod_lines Undocumented
def __init__(self, orig_pos, orig_range, mod_pos, mod_range, tail=None):
Undocumented
def get_header(self):
Undocumented
def range_str(self, pos, range):
Return a file range, special-casing for 1-line files.
ParametersposThe position in the file (type: int)
range (type: int)
Returnsa string in the format 1,4 except when range == pos == 1
Unknown Field: rangeThe range in the file
def __str__(self):
Undocumented
def shift_to_mod(self, pos):
Undocumented
def shift_to_mod_lines(self, pos):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.