Skip to main content

walk_contracts

Function walk_contracts 

Source
pub fn walk_contracts(
    dir: &Path,
    out: &mut Vec<(String, Contract)>,
    errors: &mut Vec<(PathBuf, String)>,
)
Expand description

Walk dir recursively with pv lint’s file rule: every contract file is parsed into out as (stem, contract), or recorded in errors as (file, error). Nothing is dropped.