Skip to main content

resolve_album

Function resolve_album 

Source
async fn resolve_album(
    api_client: &ImmichApiClient,
    album_name: &str,
    cache: &Arc<Mutex<HashMap<String, Option<String>>>>,
) -> Result<Option<String>, String>
Expand description

Resolve an album ID, creating the album if it doesn’t exist yet. Caches the result for reuse by other candidates in the same folder.