Structs§
- Bootstrap
Result - Result of bootstrapping from a snapshot.
- GcResult
- Result of a garbage collection run.
- Snapshot
Meta - Metadata stored alongside a snapshot in
snapshot_meta.json.enc.
Enums§
- Snapshot
Error - Error type for snapshot operations.
Functions§
- bootstrap_
from_ snapshot - Bootstrap a new device from a snapshot.
- create_
snapshot ⚠ - Create a snapshot of the database as encrypted bytes.
- garbage_
collect - Delete changesets that are superseded by a snapshot.
- push_
snapshot - Upload a snapshot to the sync storage and update the device head.
- should_
create_ snapshot - Check whether it’s time to create a new snapshot.