Add deleted files to summary

This commit is contained in:
Daniel Augustin
2020-06-25 21:30:03 +02:00
parent f6fbd5e4bb
commit 6c034209b6
3 changed files with 22 additions and 3 deletions

View File

@ -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.