electron/services/sync/syncEngineState
Internal helpers for electron/services/sync/SyncEngine!SyncEngine.
Remarks
This module intentionally centralizes the “pure” cloud-sync state transformations used by the Electron sync engine:
- Baseline serialization/parsing
- Canonical local-state projection
- Desired-state extraction from merged sync state
- Operation emission (local changes → remote operations)
- Merged-state normalization
Keeping these out of SyncEngine.ts reduces file size/complexity and makes it easier to test/refactor safely.