fast-glob
fast-glob copied to clipboard
:rocket: It's a very fast and efficient glob library for Node.js
It would be useful if the user would be able to pass a callback to fast-glob that, when called with paths to files or directories, returns whether or not fast-glob...
### Environment * OS Version: Ubuntu 16.04 * Node.js Version: v8.9.4 ### Actual behavior Relative paths add files, but glob ignores do not match those files for some reason. For...
### What is the purpose of this pull request? For `objectMode` the base path of entry should be return, otherwise we can't get the base path through the results. ###...
#### Source issues * #239 * #147 * #196 * #198 #### Code https://github.com/mrmlnc/fast-glob/blob/0f7cdcf895f64b9983e7c17cbff42359df0e5bf1/src/providers/stream.ts#L11-L27
Currently it is not possible to stop a sync glob task. Let's say I run a glob to see if any file exists (similar to `Array.some()`) then I currently have...
`node-glob` has the `nonull` option which instead of returning an empty array if no patterns matches, it returns the patterns that didn't match anything. This can be useful when you...
Assume the future method is called `isMatch(filePath, patterns, options)` then I want to achieve the follow: ``` fastGlob.isMatch('./package.json', ['src/*.json']) // return false ``` Note: A hidden requirement is I want...
### Environment * OS Version: mac osx 12.5.1 * Node.js Version: 14.20.1 ### Actual behavior (3.2.12) ```console $ node index.js [ ] ``` ### Expected behavior (3.2.11) ```console $ node...
#### Breaking changes * #235 * #418 * #434 #### Fixes * #362 * #331 * #314
### Environment * OS Version: Windows 10 * Node.js Version: 14.20.0 ### Actual behavior Results from fast-glob use POSIX path separators, even when on Windows. ```sh SRC C:\Users\JohnDoe\src DEST C:\Users\JohnDoe\dist...