Skip to main content

InheritedVersionChecker

Trait InheritedVersionChecker 

Source
pub trait InheritedVersionChecker: Send + Sync {
    // Required method
    fn has_inherited_version(&self, manifest_path: &Path) -> Result<bool>;

    // Provided method
    fn find_packages_with_inherited_versions(
        &self,
        packages: &[PackageInfo],
    ) -> Result<Vec<String>> { ... }
}

Required Methods§

Source

fn has_inherited_version(&self, manifest_path: &Path) -> Result<bool>

§Errors

Propagates manifest read errors.

Provided Methods§

Source

fn find_packages_with_inherited_versions( &self, packages: &[PackageInfo], ) -> Result<Vec<String>>

§Errors

Propagates manifest read errors.

Implementors§