Expand description
Packaging rule — the deterministic core: given the root of an unpacked built artifact and
the test-file globs that must not appear in it, scan returns every offending file.
Functions§
- inspect
- Inspect a built artifact at
pathfor files matchingglobs.pathis 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. - scan
- Every file under
root— the root of an unpacked built artifact — whose name matches one ofglobs, sorted.globsare file-name globs where*matches any run of characters; each is matched against an entry’s file name, not its full path.