diff options
author | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2005-10-31 04:53:31 +0000 |
---|---|---|
committer | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2005-10-31 04:53:31 +0000 |
commit | a5c03feacbbd9361eb3e2abe367b75529c83459b (patch) | |
tree | bcb8f86bf8cfc61bd771b6e45d557bdda7604e80 /rdiff-backup/rdiff_backup/rpath.py | |
parent | a2705f514b471e2b74c98a0cde588863e3ff22c6 (diff) | |
download | rdiff-backup-a5c03feacbbd9361eb3e2abe367b75529c83459b.tar.gz |
Added various compare options like --compare-full and --compare-hash
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@664 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/rpath.py')
-rw-r--r-- | rdiff-backup/rdiff_backup/rpath.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/rdiff-backup/rdiff_backup/rpath.py b/rdiff-backup/rdiff_backup/rpath.py index dac4899..753712f 100644 --- a/rdiff-backup/rdiff_backup/rpath.py +++ b/rdiff-backup/rdiff_backup/rpath.py @@ -1128,16 +1128,6 @@ class RPath(RORPath): self.fsync(fp) if Globals.fsync_directories: self.get_parent_rp().fsync() - def sync_delete(self): - """Delete self with sync to guarantee completion - - On some filesystems (like linux's ext2), we must sync both the - file and the directory to make sure. - - """ - if self.lstat() and not self.issym(): self.fsync_local(self.delete) - if Globals.fsync_directories: self.get_parent_rp().fsync() - def get_data(self): """Open file as a regular file, read data, close, return data""" fp = self.open("rb") |