Module push

Module push 

Source
Expand description

Push-related types for the sync system.

The actual push orchestration happens in SyncService::sync(), which returns an OutgoingChangeset for the caller to encrypt and upload. This module holds the shared types and the schema version constant.

Structs§

OutgoingChangeset
An outgoing changeset ready to be pushed to sync storage.

Constants§

SCHEMA_VERSION
Current schema version – a monotonically increasing tag attached to outgoing changesets. Receivers reject changesets whose schema_version is higher than they support, so this must be bumped any time the on-disk shape of synced tables changes.