Skip to main content

check_present

Function check_present 

Source
fn check_present(
    target: &Path,
    spec: &ModelSpec,
    cache: &DigestCache,
    on_progress: &mut (dyn FnMut(Progress) -> ControlFlow<()> + '_),
) -> Result<(), Error>
Expand description

Check a model already on disk, verifying it unless its record says it has not changed since the last check.