pub fn parse_dir(
path: &str,
extension: &str,
consumer: &mut dyn Consume
) -> usize
Expand description
parse_dir
parses only directory specified by path.
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)