mirror of
https://github.com/numtide/nix-filter.git
synced 2024-10-26 23:11:26 +03:00
21e58193e0
* Make paths also match subdirectories This makes matchers that are generated for strings and paths treat the path as a prefix instead of as the entire path, allowing a path to also match its subdirectories and contained files. This allows patterns like `"src"` to also match by default: - `src/folder_x` - `src/folder_x/folder_y` - etc. * Turn _isPathPrefix into new matcher and restore previous default path behavior * Update inDirectory to compare string prefixes instead of path segments This avoids the extra work of splitting the paths into segments and comparing them piece by piece. * proposed change Co-authored-by: zimbatm <zimbatm@zimbatm.com> |
||
---|---|---|
.. | ||
src | ||
package.json | ||
README.md |