(self, file1: PATH_TYPES, file2: PATH_TYPES)
return filecmp.cmp(str(file1), str(file2), shallow=False)
Compare two files, returning true if they are the same and False if not.
Compare two files, returning true if they are the same and False if not.
Compare two files returning true if they are the same and False if not .
def compare_files(self, file1: PATH_TYPES, file2: PATH_TYPES) -> bool:
        """Compare two files, returning true if they are the same and False if not."""
        return filecmp.cmp(str(file1), str(file2), shallow=False)
def compare_files ( self , file1 : PATH_TYPES , file2 : PATH_TYPES ) -> bool : return filecmp . cmp ( str ( file1 ) , str ( file2 ) , shallow = False )