Expand description
CloudHome: low-level cloud storage abstraction.
Each backend (S3, R2, B2, etc.) implements CloudHome – 8 methods for
raw bytes in/out. No encryption, no path layout knowledge, no sync
semantics. Higher-level concerns live in EncryptedSyncStorage which wraps
any dyn CloudHome.
Modules§
- cloudkit
- CloudKit-backed
CloudHomeimplementation. - dropbox
- Dropbox
CloudHomeimplementation. - google_
drive - Google Drive
CloudHomeimplementation. - http
- HTTP-backed
CloudHomeimplementation. - oauth_
session - Shared OAuth token lifecycle for the consumer-cloud backends.
- onedrive
- OneDrive
CloudHomeimplementation. - s3
- S3-backed
CloudHomeimplementation. - setup
- Cloud provider setup and management.
- test_
utils - In-process CloudHome implementation for tests. Records every write keyed by cloud_key so tests can read back exactly what landed, and serves reads from the same map — enough to simulate two devices sharing a cloud bucket.
Enums§
- Cloud
Home Error - Errors from raw cloud storage operations.
- Cloud
Home Join Info - Information needed to join a cloud home from another device.
Traits§
- Cloud
Home - Low-level cloud storage. Implementations handle a single library.
Functions§
- create_
cloud_ home - Construct a CloudHome from the desktop app’s Config + KeyService. Reads provider settings from config and credentials from the OS keyring.