parse_magic_content_with_templates

Function parse_magic_content_with_templates 

Source
pub fn parse_magic_content_with_templates(
    content: &str,
) -> (Vec<HierarchicalMagicRule>, HashMap<String, HierarchicalMagicRule>)
Expand description

Parses an entire libmagic file content into hierarchical root rules and named templates.