Package duplicity :: Module patchdir :: Class ROPath_IterWriter
[hide private]
[frames] | no frames]

Class ROPath_IterWriter

source code


Used in Write_ROPaths above

We need to use an ITR because we have to update the permissions/times of directories after we write the files in them.

Instance Methods [hide private]
 
__init__(self, base_path)
Set base_path, Path of root of tree
source code
 
start_process(self, index, ropath)
Write ropath.
source code
 
end_process(self)
Update information of a directory when leaving it
source code
 
can_fast_process(self, index, ropath)
Can fast process (no recursion) if ropath isn't a directory
source code
 
fast_process(self, index, ropath)
Write non-directory ropath to destination
source code
Method Details [hide private]

start_process(self, index, ropath)

source code 

Write ropath. Only handles the directory case