Skip to main content

inspect

Function inspect 

Source
pub fn inspect(path: impl AsRef<Path>, globs: &[String]) -> Result<Vec<PathBuf>>
Expand description

Inspect a built artifact at path for files matching globs. path is a directory (an already-unpacked artifact) or an archive this rule unpacks first — .whl, .tgz/.tar.gz, .crate. Offenders come back as paths relative to the artifact root.