Expand description
Consolidated application context passed through the UI and background services.
Replaces the growing list of individual Arc<T> parameters that were previously
threaded through build_settings_window() and open_settings_if_needed().
Structs§
- AppContext
- Shared application context holding all dependency handles that UI and background
tasks need. Wrapped in
Arcat construction time so it can be cloned cheaply. - Pending
Deletions - Two-tick deletion confirmation. For mass deletions, require the same asset to be missing across two consecutive reconciler observations before trashing — defends against transient server-side stale reads.
- Recent
Self Paths - TTL’d set of paths Mimick itself just modified, used to suppress the filesystem events those modifications cause.
- Reconcile
Guard - Active lock guard that frees the album lock when dropped.
- Reconcile
Locks - Per-album reconcile lock. Prevents the periodic poller and a manual sync click from racing each other into duplicate downloads / duplicate trash.