Skip to main content

Module album_sync

Module album_sync 

Source
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Β§

AlbumDiff
ClassifyContext πŸ”’
LocalEntry

EnumsΒ§

LocalDecision πŸ”’

ConstantsΒ§

ALBUM_TO_FOLDER_TRASH_AVAILABLE πŸ”’
Gate album→folder deletion: portal trash currently fails on FUSE document-portal paths (upstream bug). Flip to true when 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 πŸ”’