DustBackupDigestStore

Per-address last-uploaded digest, so DustCloudBackupCoordinator can skip a redundant upload (and the network round-trip) when a checkpoint is unchanged. Production backs this with SharedPreferences; tests use an in-memory map.

Inheritors

Functions

Link copied to clipboard
abstract fun clear()

Drop all recorded digests (#246) — used when the cloud blob is deleted so a later re-enable re-uploads instead of the hash-guard skipping an "already-uploaded" checkpoint.

Link copied to clipboard
abstract fun get(address: String): String?
Link copied to clipboard
abstract fun put(address: String, digest: String)