Skip to main content

diff

Function diff 

Source
pub fn diff(
    local: Option<&TagRegistry>,
    referenced: &BTreeSet<String>,
) -> Vec<TagDiff>
Expand description

Compare a local registry against a set of tag names actually referenced by local resources.

referenced is the union of tags: arrays across content_blocks, email_templates, etc. local is the registry file. Either may be None / empty.