Skip to main content

check

Function check 

Source
pub fn check(
    repo: &Repository,
    ref_name: &str,
    target: &Version,
    registry: &Registry,
) -> Result<CheckResult, MigrateError>
Expand description

Inspect a repository and tell a consumer what to do.

target is typically Version::parse(SCHEMA_VERSION).unwrap() — the consumer’s idea of “current.” ref_name is usually "main".