applying fixes

This commit is contained in:
leminlimez
2024-09-28 14:37:22 -04:00
parent 6c1f9a566d
commit 3641c5a343
5 changed files with 17 additions and 10 deletions

View File

@@ -9,6 +9,9 @@ class FileToRestore:
self.owner = owner
self.group = group
def __lt__(self, other):
return self.restore_path < other.restore_path
# files is a list of FileToRestore objects
def restore_files(files: list, reboot: bool = False, lockdown_client: LockdownClient = None):
# create the files to be backed up