Skip to main content

diff_sections

Function diff_sections 

Source
pub fn diff_sections(
    previous: &IndexMap<String, Option<String>>,
    current: &IndexMap<String, String>,
) -> Option<IndexMap<String, Option<String>>>
Expand description

The section patch from what the model has to what it should have: changed or new sections, and None for removed ones. None when nothing changed.