Skip to main content

find_stale_stems

Function find_stale_stems 

Source
pub fn find_stale_stems(
    stems_dir: &Path,
    index: &HashMap<i64, Map<String, Value>>,
) -> Vec<Stale>
Expand description

Stems that disagree with the current parsed entries.

A stem is stale when its seq is gone, its seq is now a header, its _sfx/speaker suffix contradicts the entry type, its speaker changed, or it is a duplicate of the canonically named file for that seq.