Skip to main content

replay_sfx_edits

Function replay_sfx_edits 

Source
pub fn replay_sfx_edits(
    sfx_path: &Path,
    dry_run: bool,
    warn: &mut dyn FnMut(String),
) -> Result<Replay>
Expand description

Reapply the journal onto the config at sfx_path, in journal order (last write wins). (0, []) when no journal exists.

warn receives the message Python logs when a journaled source overrides a different one — the operator has to see which asset won.