check_package

Function check_package 

Source
pub(super) fn check_package(pkg: &InstalledPackage) -> Option<DiagnosisResult>
Expand description

Check a single installed package for install-directory problems.

The scan is intentionally metadata-only: it validates the stored path string, checks that the directory exists, and confirms that the path is actually a directory. Anything else is turned into a diagnosis instead of a hard error.