Skip to main content

validate_build

Function validate_build 

Source
pub fn validate_build<'a>(
    options: &ConvertOptions,
    registry: &'a Registry,
) -> Result<(&'a SourceSpec, Vec<&'a str>)>
Available on crate feature encoder only.
Expand description

Whether this encoder builds options.model from registry with the profile and bundles options asks for, decided from the document alone: the source, the profile, a codebook for every published variable and the requested bundles. Nothing is read or written. convert_bin runs it first, so a build and the question asked before it cannot disagree.