perl-corpus 0.15.2

Test corpus management and generators for Perl parsers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::meta::Section;
use anyhow::Result;
use std::path::Path;

mod coverage;
mod flat;
mod tags;

/// Write index files and coverage report
pub fn write_indices(dir: &Path, sections: &[Section]) -> Result<()> {
    flat::write_flat_index(dir, sections)?;
    tags::write_tag_index(dir, sections)?;
    coverage::write_coverage_summary(dir, sections)?;

    Ok(())
}