Package duplicity :: Module diffdir :: Class DeltaTarBlockIter
[hide private]
[frames] | no frames]

Class DeltaTarBlockIter

source code


TarBlockIter that yields parts of a deltatar file

Unlike SigTarBlockIter, the argument to __init__ is a delta_path_iter, so the delta information has already been calculated.

Instance Methods [hide private]
 
get_data_block(self, fp, max_size)
Return pair (next data block, boolean last data block)
source code
 
process(self, delta_ropath, size)
Get a tarblock from delta_ropath
source code
 
process_continued(self, size)
Return next volume in multivol diff or snapshot
source code

Inherited from TarBlockIter: __init__, __iter__, get_footer, get_previous_index, next, recall_index, remember_next_index, tarinfo2tarblock

Method Details [hide private]

process(self, delta_ropath, size)

source code 

Get a tarblock from delta_ropath

Overrides: TarBlockIter.process

process_continued(self, size)

source code 

Return next volume in multivol diff or snapshot

Overrides: TarBlockIter.process_continued