Skip to main content

Module cloud_sync

Module cloud_sync 

Source

Enums§

AutoSyncOutcome
Outcome of one background Personal-Cloud auto-push (GL #384).

Functions§

build_sync_entries
classify_outcomes
Classify per-surface push results into one AutoSyncOutcome. A 402 anywhere wins (the account is gated); otherwise total failure means the network is down; anything else counts as synced.
cloud_background_tasks
collect_cep_entries
collect_command_entries
collect_contribute_entries
collect_feedback_entries
collect_gotcha_entries
collect_knowledge_entries
should_auto_push_index
Whether the background index push should run for this project (GL #392): separate opt-in, logged in, a local index actually exists, and this project hasn’t pushed today. Pure for unit testing.
should_auto_sync
Whether the auto-sync should run now: opt-in flag, logged in, and not already synced today (the debounce). Pure for unit testing.