finish watch_service.py

This commit is contained in:
phernandez
2025-02-02 19:08:31 -06:00
parent 0af60e7fdc
commit 4afa368a6b
7 changed files with 116 additions and 260 deletions
+6 -1
View File
@@ -55,5 +55,10 @@ class SyncReport:
@property
def total_changes(self) -> int:
"""Total number of files that need attention."""
"""Total number of changes."""
return len(self.new) + len(self.modified) + len(self.deleted) + len(self.moves)
@property
def total_files(self) -> int:
"""Total number of files synced."""
return len(self.new) + len(self.modified) + len(self.moves)