Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make parent dir available in fileset.fileFilter
Currently, fileFilter only allows filtering based based on a files base name + file type. This is a bit limiting if you want to include files based on the name of the directory they reside in. I bumped in to this when using fileFilter to make a minimal set of files to make Cargo happy in a Rust workspace - specifically, I needed to pull in any `.rs` file that lived under a `bin/`, `examples/`, or `benches/` folder before Cargo would stop complaining. (Note that I am trying to avoid pulling in all rust files - I'm working in a large Rust workspace but trying to package a single small member of the workspace). ```
- Loading branch information