Skip to main content

validate_file

Function validate_file 

Source
pub fn validate_file(file: &FkcFile) -> Result<(), FkcError>
Expand description

Run the full V-FKC-* battery over a parsed file. The caller (the lint / import_bundle_str) runs this after parse so a structurally-bad contract fails import. Stops at the first violation (a typed FkcError).