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

Method has_activity

src/sync_stats.py:22–28  ·  view source on GitHub ↗

Check if there was any sync activity. Returns: True if any files were downloaded, skipped, or removed

(self)

Source from the content-addressed store, hash-verified

20 errors: list[str] = field(default_factory=list)
21
22 def has_activity(self) -> bool:
23 """Check if there was any sync activity.
24
25 Returns:
26 True if any files were downloaded, skipped, or removed
27 """
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.

Callers 5

has_activityMethod · 0.45
_send_usage_statisticsFunction · 0.45

Calls

no outgoing calls

Tested by 1