Skip to main content

run_validate

Function run_validate 

Source
pub fn run_validate(
    sbom_path: PathBuf,
    standard: String,
    output: ReportFormat,
    output_file: Option<PathBuf>,
    fail_on_warning: bool,
    summary: bool,
    cra_sidecar_path: Option<PathBuf>,
    cra_product_class: Option<String>,
) -> Result<i32>
Expand description

Run the validate command, returning the desired exit code.

ยงExit codes

The caller is responsible for calling std::process::exit() with the returned code when it is non-zero.