mirror of
https://github.com/Garmelon/PFERD.git
synced 2023-12-21 10:23:01 +01:00
Print files that are *not* deleted by cleanup
These are files that are not present on the remote source any more, but still present locally. They also show up in the report.
This commit is contained in:
@ -493,6 +493,9 @@ class OutputDirectory:
|
||||
self._report.delete_file(pure)
|
||||
except OSError:
|
||||
pass
|
||||
else:
|
||||
log.status(f"[bold bright_magenta]Not deleted[/] {escape(fmt_path(pure))}")
|
||||
self._report.not_delete_file(pure)
|
||||
|
||||
def load_prev_report(self) -> None:
|
||||
log.explain_topic(f"Loading previous report from {fmt_real_path(self._report_path)}")
|
||||
|
Reference in New Issue
Block a user