Skip to main content

scan_sections

Function scan_sections 

Source
pub fn scan_sections(path: &Path, content: &str) -> Vec<ScanSectionInfo>
Expand description

Scan file content for toggle:start / toggle:end markers. Returns all sections found with state info. Does not modify anything.