Function solp::parse_dir_tree

source ·
pub fn parse_dir_tree(
    path: &str,
    extension: &str,
    consumer: &mut dyn Consume,
) -> usize
Expand description

parse_dir_tree parses directory specified by path. recursively it finds all files with extension specified and parses them. returns the number of scanned solutions

§Remarks

Any errors occured during parsing of found files will be ignored (so parsing won’t stopped) but error paths will be added into error files list (using err function of Consume trait)