Function cargo::ops::cargo_clean::rm_rf_package_glob_containing_hash
source · fn rm_rf_package_glob_containing_hash(
package: &str,
pattern: &Path,
config: &Config,
progress: &mut dyn CleaningProgressBar
) -> CargoResult<()>
Expand description
Glob remove artifacts for the provided package
Make sure the artifact is for package
and not another crate that is prefixed by
package
by getting the original name stripped of the trailing hash and possible
extension