portage.util._compare_files module¶
- portage.util._compare_files.compare_files(file1, file2, skipped_types=())¶
Compare metadata and contents of two files.
- Parameters
file1 (str) – File 1
file2 (str) – File 2
skipped_types (tuple of str) – Tuple of strings specifying types of properties excluded from comparison. Supported strings: type, mode, owner, group, device_number, xattr, atime, mtime, ctime, size, content
- Return type
tuple of str
- Returns
Tuple of strings specifying types of properties different between compared files