def compare_details(self, other, source=None): differences = [] differences.append(Difference.from_text_readers(list_libarchive(self.path), list_libarchive(other.path), self.path, other.path, source="file list")) differences.extend(_compare_elf_data(self.path, other.path)) return differences
def compare_details(self, other, source=None): return [ Difference.from_text_readers(list_libarchive(self.path), list_libarchive(other.path), self.path, other.path, source="file list") ]
def compare_details(self, other, source=None): differences = [] differences.append( Difference.from_text_readers(list_libarchive(self.path), list_libarchive(other.path), self.path, other.path, source="file list")) differences.extend(_compare_elf_data(self.path, other.path)) return differences
def compare_details(self, other, source=None): - my_content = get_ar_content(self.path) - other_content = get_ar_content(other.path) - return [Difference.from_text(my_content, other_content, self.path, other.path, source="metadata")] - + return [Difference.from_text_readers(list_libarchive(self.path), + list_libarchive(other.path), + self.path, other.path, source="file list")] class Md5sumsFile(File): @staticmethod
def compare_details(self, other, source=None): return [Difference.from_text_readers(list_libarchive(self.path), list_libarchive(other.path), self.path, other.path, source="file list")]