Skip to main content

check

Function check 

Source
pub fn check(
    installer: &Path,
    sha256: &str,
    version: &str,
    own_dir: &Path,
    data_dir: &Path,
    bin_dir: &Path,
) -> Result<PackageUpgrade, String>
Expand description

Check what srv names to install against this install: installer is the release’s package for version, as downloaded into this version’s updates/<version>/ and whole by sha256, and this launcher is the installed one (own_dir is bin_dir) with the install helper beside it.