qmm.fileutils module¶
- class qmm.fileutils.ArchiveEvents(value)[source]¶
Bases:
enum.Enum
An enumeration.
- FILE_ADDED = 1¶
- FILE_REMOVED = 2¶
- class qmm.fileutils.FileState(value)[source]¶
Bases:
enum.Enum
An enumeration.
- 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)[source]¶
Bases:
enum.Enum
Gradients 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: qmm.bucket.FileMetadata) qmm.fileutils.FileState [source]¶