| Home | Trees | Indices | Help |
|
|---|
|
|
|
|||
| PatchDirException | |||
|
Multivol_Filelike Emulate a file like object from multivols |
|||
|
PathPatcher Used by DirPatch, process the given basis and diff |
|||
|
TarFile_FromFileobjs Like a tarfile.TarFile iterator, but read from multiple fileobjs |
|||
|
IndexedTuple Like a tuple, but has .index (used previously by collate_iters) |
|||
|
ROPath_IterWriter Used in Write_ROPaths above |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Patch given Path object using delta tarfile (as in tarfile.TarFile) If restrict_index is set, ignore any deltas in diff_tarfile that don't start with restrict_index. |
Rewrite path elements of path_iter so they start with index Discard any that doesn't start with index, and remove the index prefix from the rest. |
Collate iterators by index Input is a list of n iterators each of which must iterate elements with an index attribute. The elements must come out in increasing order, and the index should be a tuple itself. The output is an iterator which yields tuples where all elements in the tuple have the same index, and the tuple has n elements in it. If any iterator lacks an element with that index, the tuple will have None in that spot. |
Given an sequence of ROPath deltas, remove blank and unnecessary The sequence is assumed to be in patch order (later patches apply to earlier ones). A patch is unnecessary if a later one doesn't require it (for instance, any patches before a "delete" are unnecessary). |
Combine a list of iterators of ropath patches The iter_list should be sorted in patch order, and the elements in each iter_list need to be orderd by index. The output will be an iterator of the final ROPaths in index order. |
Integrate tarfiles of diffs into single ROPath iter Then filter out all the diffs in that index which don't start with the restrict_index. |
Write out ropaths in rop_iter starting at base_path Returns 1 if something was actually written, 0 otherwise. |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Fri Nov 25 13:38:16 2011 | http://epydoc.sourceforge.net |