pub fn execute(
plan: &ImportActionPlan,
workspace: &mut Workspace,
config: &ImportConfig,
on_event: impl Fn(ImportProgressEvent),
cancel: &CancellationToken,
) -> Result<ImportExecutionSummary, Box<dyn Error + Send + Sync>>Expand description
Phase 4 — execute the import plan against workspace.
Every ImportDecision::Import candidate is committed through the signed lifecycle path; skip
decisions are reported verbatim. Assets are written into the album resolved from
config.album through resolve_default_album — the explicit pick, else the owner’s
default_album_id pointer, else the workspace’s derived de facto album — which must already
exist in the workspace.
This is a plain filesystem import: no exporter metadata is attached. A third-party import
calls execute_with_source_metadata instead.