l.c.m.patches : module documentation

Part of lp.code.mail

No module docstring
Function iter_file_patch
Function parse_patches
def iter_file_patch(iter_lines, allow_dirty=False, keep_dirty=False):
Parametersiter_linesiterable of lines to parse for patches
Unknown Field: kwargallow_dirtyIf True, allow comments and other non-patch text before the first patch. Note that the algorithm here can only find such text before any patches have been found. Comments after the first patch are stripped away in iter_hunks() if it is also passed allow_dirty=True. Default False.
def parse_patches(iter_lines, allow_dirty=False, keep_dirty=False):
Parametersiter_linesiterable of lines to parse for patches
Unknown Field: kwargallow_dirtyIf True, allow text that's not part of the patch at selected places. This includes comments before and after a patch for instance. Default False.
keep_dirtyIf True, returns a dict of patches with dirty headers. Default False.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.