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.
pub fn parse_magic_content_with_templates(
content: &str,
) -> (Vec<HierarchicalMagicRule>, HashMap<String, HierarchicalMagicRule>)Parses an entire libmagic file content into hierarchical root rules and named templates.