You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can pass a single one of these (or an array with any combination). All given must match for the file to be returned. Optional options argument is passed directly to [node-glob](https://github.com/isaacs/node-glob)
34
-
35
-
#### Function
36
-
37
-
```javascript
38
-
var stream =gs.create(["./files/**/*.coffee", function(path){
39
-
returnpath.indexOf("something") ===-1;
40
-
}]);
41
-
```
42
-
43
-
#### RegExp
44
-
45
-
```javascript
46
-
var stream =gs.create(["./files/**/*.coffee",/stuff/]);
47
-
```
33
+
You can pass any combination of globs. One caveat is that you can not only pass a glob negation, you must give it at least one positive glob so it knows where to start. All given must match for the file to be returned. Optional options argument is passed directly to [node-glob](https://github.com/isaacs/node-glob)
0 commit comments