MCPcopy
hub / github.com/mandarons/icloud-docker / has_errors

Method has_errors

src/sync_stats.py:30–36  ·  view source on GitHub ↗

Check if there were any errors. Returns: True if errors list is not empty

(self)

Source from the content-addressed store, hash-verified

28 return self.files_downloaded > 0 or self.files_skipped > 0 or self.files_removed > 0
29
30 def has_errors(self) -> bool:
31 """Check if there were any errors.
32
33 Returns:
34 True if errors list is not empty
35 """
36 return len(self.errors) > 0
37
38
39@dataclass

Calls

no outgoing calls