Package duplicity :: Module librsync :: Class DeltaFile
[hide private]
[frames] | no frames]

Class DeltaFile

source code


File-like object which incrementally generates a librsync delta

Instance Methods [hide private]
 
__init__(self, signature, new_file)
DeltaFile initializer - call with signature and new file
source code

Inherited from LikeFile: check_file, close, read

Inherited from LikeFile (private): _add_to_inbuf, _add_to_outbuf_once

Class Variables [hide private]

Inherited from LikeFile: maker, mode

Method Details [hide private]

__init__(self, signature, new_file)
(Constructor)

source code 

DeltaFile initializer - call with signature and new file

Signature can either be a string or a file with read() and close() methods. New_file also only needs to have read() and close() methods. It will be closed when self is closed.
Overrides: LikeFile.__init__