Expand description
Album-folder bidirectional sync diff and execution.
Compares the set of assets in an Immich album against the files in a linked local folder to produce upload, download, and delete diffs. Executes the resolved diff actions with progress feedback.
StructsΒ§
EnumsΒ§
- Local
Decision π
ConstantsΒ§
- ALBUM_
TO_ πFOLDER_ TRASH_ AVAILABLE - Gate albumβfolder deletion: portal trash currently fails on FUSE
document-portal paths (upstream bug). Flip to
truewhen fixed.
FunctionsΒ§
- album_
download_ πprogress - classify_
local_ πentries - classify_
local_ πentry - clear_
pending_ πdeletions - compute_
orphan_ πrecords - compute_
remote_ πdeletions - confirm_
pending_ πdeletions - diff_
album_ vs_ folder - execute_
downloads - execute_
local_ deletions - execute_
remote_ deletions - execute_
uploads - fetch_
remote_ πalbum_ assets - finish_
album_ πdownload - is_
orphan_ πrecord - True when a sync recordβs file is gone from disk and belongs to this album.
- migrate_
orphan_ πif_ needed - migrate_
renamed_ πrecord - move_
to_ πtrash - Portal-only trash. Single implementation, no fallbacks. Currently unused
- resolve_
local_ πchecksums - synced_
entry_ πdecision - unique_
destination π - was_
previously_ πsynced_ to