Skip to main content

run_corpus_dir

Function run_corpus_dir 

Source
pub fn run_corpus_dir(
    config: &CorpusConfig,
    root: &Path,
    opts: &RunOptions,
) -> Result<RunOutcome, NativeRunError>
Expand description

Walk root and run the config over its files, reading only the files a rule routes. Invalid UTF-8 is replaced with U+FFFD, as Node’s utf8 read does.