Skip to main content

validate

Function validate 

Source
pub fn validate(ctx: &Ctx) -> Result<i32>
Expand description

Parse opys.toml (found by searching upward) and report any well-formedness problems. Returns 1 when the config has problems (mirroring verify), 0 when clean; a missing file or TOML syntax error surfaces as a hard error.