Skip to main content

run

Function run 

Source
pub fn run(file: &Path) -> Result<()>
Expand description

Validates a Zoi specification file (e.g. repo.yaml, a built-in <registry>.yaml, advisories.json, packages.json).

ยงErrors

Returns an error if the file does not exist, cannot be read, or if the file content does not match any known Zoi specification.