base
This commit is contained in:
@@ -12,7 +12,7 @@ class FileRecord:
|
||||
size: int
|
||||
modified_time: float
|
||||
created_time: float
|
||||
disk: str
|
||||
disk_label: str
|
||||
checksum: str | None = None
|
||||
status: str = 'indexed' # indexed, planned, moved, verified
|
||||
category: str | None = None
|
||||
@@ -23,7 +23,7 @@ class FileRecord:
|
||||
class OperationRecord:
|
||||
"""Record of a migration operation"""
|
||||
source_path: Path
|
||||
dest_path: Path
|
||||
target_path: Path
|
||||
operation_type: str # move, copy, hardlink, symlink
|
||||
status: str = 'pending' # pending, in_progress, completed, failed
|
||||
error: str | None = None
|
||||
|
||||
Reference in New Issue
Block a user