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:
@ -136,6 +136,9 @@ class Pferd:
|
||||
for path in sorted(crawler.report.deleted_files):
|
||||
something_changed = True
|
||||
log.report(f" [bold bright_magenta]Deleted[/] {fmt_path(path)}")
|
||||
for path in sorted(crawler.report.not_deleted_files):
|
||||
something_changed = True
|
||||
log.report(f" [bold bright_magenta]Not deleted[/] {fmt_path(path)}")
|
||||
|
||||
if not something_changed:
|
||||
log.report(" Nothing changed")
|
||||
|
Reference in New Issue
Block a user