Skip to main content

discover_variants

Function discover_variants 

Source
pub fn discover_variants(content: &str, group: &str) -> Vec<SectionInfo>
Expand description

Return all SectionInfo whose ID parses into the given group. discover_variants(content, "db") matches both db (solo) and db:postgres (variant).