qmm.fileutils module¶
- class qmm.fileutils.ArchiveEvents(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
Enum- FILE_ADDED = 1¶
- FILE_REMOVED = 2¶
- class qmm.fileutils.FileState(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
Enum- IGNORED = 4¶
Indicate that the file will be ignored by the software.
- MATCHED = 1¶
Indicate that the file is found on the drive, and match in content.
- MISMATCHED = 3¶
Indicate that the file to exists on drive, but not matching in content.
- MISSING = 2¶
Indicate that the file is absent from the drive.
- class qmm.fileutils.FileStateColor(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
EnumGradients of colors for each file of the tree widget.
- CONFLICTS = (135, 33, 39, 255)¶
- IGNORED = (219, 219, 219, 255)¶
- MATCHED = (91, 135, 33, 255)¶
- MISMATCHED = (132, 161, 225, 255)¶
- MISSING = (237, 213, 181, 255)¶
- tab_conflict = (135, 33, 39, 255)¶
- tab_ignored = (135, 33, 39, 255)¶
- qmm.fileutils.file_status(file: FileMetadata) FileState[source]¶