Skip to main content

list_cases

Function list_cases 

Source
pub fn list_cases(fixtures_root: &Path) -> Vec<String>
Expand description

Enumerate the bundled positive fixtures.

Returns the names (one per directory) under <fixtures_root>/cases/, sorted alphabetically and excluding any directory whose name starts with _ (the convention for negative fixtures and other internal-only sets like _calibration/).

The list-cases subcommand calls this; the corpus subcommand does not — corpus walks the tree directly and includes negatives.