mirror of
https://github.com/Garmelon/PFERD.git
synced 2026-04-12 23:45:05 +02:00
Add deleted files to summary
This commit is contained in:
parent
f6fbd5e4bb
commit
6c034209b6
3 changed files with 22 additions and 3 deletions
|
|
@ -111,6 +111,15 @@ class PrettyLogger:
|
|||
f"[bold green]Created {self._format_path(path)}.[/bold green]"
|
||||
)
|
||||
|
||||
def deleted_file(self, path: PathLike) -> None:
|
||||
"""
|
||||
A file has been deleted.
|
||||
"""
|
||||
|
||||
self.logger.info(
|
||||
f"[bold red]Deleted {self._format_path(path)}.[/bold red]"
|
||||
)
|
||||
|
||||
def ignored_file(self, path: PathLike, reason: str) -> None:
|
||||
"""
|
||||
File was not downloaded or modified.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue