pub fn resolve_default_album(
context: &DefaultAlbumContext,
) -> Result<ResolvedAlbum, DefaultAlbumError>Expand description
Resolve the destination album for an import, first match wins (SSoT: Organization — The Default Album).
- the explicit user pick at import time,
- (post-v1: the
scope_idoverride row, then the per-source-kind default row), - the owner’s
default_album_idpointer, - the derived de facto album.
Deterministic by construction — a pure function of the context, with no clock, no I/O
and no iteration order — and the fired ResolutionRule travels with the answer.