Package daklib :: Module pdiff :: Class PDiffIndex
[hide private]
[frames] | no frames]

Class PDiffIndex

source code

Instance Methods [hide private]
 
__init__(self, patches_dir, max=56, merge_pdiffs=False) source code
 
_convert_to_unmerged(self) source code
 
read_index_file(self, index_file_path) source code
 
prune_patch_history(self) source code
 
find_obsolete_patches(self) source code
 
dump(self, out=sys.stdout) source code
 
update_index(self, tmp_suffix=".new") source code
Class Variables [hide private]
  oldsizehashes = PDiffHashes.from_file(oldf)
  newsizehashes = PDiffHashes.from_file(newf)
  patch_path = os.path.join(self.patches_dir, patch_name)
  second_patch_name = "T-%s-F-%s" %(patch_name, patch_name)
  target_path = os.path.join(self.patches_dir, target_name)
  new_merged_order = []
  new_merged_history = {}
  target_name = self._unmerged_history_order [-1]
  new_patches = []