Skip to main content

discover_sections

Function discover_sections 

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

Scan file content for all section marker pairs and return their metadata. Unclosed sections are silently skipped (useful for discovery across many files).