Package duplicity :: Module dup_temp :: Class TempDupPath
[hide private]
[frames] | no frames]

Class TempDupPath

source code


Like TempPath, but build around DupPath

Instance Methods [hide private]
 
delete(self)
Forget and delete
source code
 
filtered_open_with_delete(self, mode)
Returns a filtered fileobj.
source code
 
open_with_delete(self, mode="rb")
Returns a fileobj.
source code

Inherited from path.DupPath: __init__, filtered_open

Inherited from path.Path: __repr__, append, chmod, compare_recursive, deltree, get_canonical, get_filename, get_parent_dir, get_temp_in_same_dir, isemptydir, listdir, makedev, mkdir, move, new_index, open, patch_with_attribs, quote, rename, rename_index, setdata, touch, unquote, writefileobj

Inherited from path.ROPath: __eq__, __ne__, blank, compare_data, compare_verbose, copy, copy_attribs, exists, get_data, get_relative_path, get_ropath, get_tarinfo, getdevloc, getmtime, getperms, getsize, init_from_tarinfo, isdev, isdir, isfifo, isreg, issock, issym, perms_equal, set_from_stat, setfileobj

Class Variables [hide private]

Inherited from path.Path: regex_chars_to_quote

Instance Variables [hide private]

Inherited from path.ROPath: stat

Method Details [hide private]

delete(self)

source code 

Forget and delete

Overrides: path.Path.delete

filtered_open_with_delete(self, mode)

source code 

Returns a filtered fileobj. When that is closed, delete file

open_with_delete(self, mode="rb")

source code 

Returns a fileobj. When that is closed, delete file