pub fn check(root: &Path, bad: &mut bool)
Checks for external package sources. root is the path to the directory that contains the workspace Cargo.toml.
root
Cargo.toml