@@ -1001,7 +1001,8 @@ changes:
1001
1001
* ` errorOnExist` {boolean} when ` force` is ` false ` , and the destination
1002
1002
exists, throw an error. **Default:** ` false ` .
1003
1003
* ` filter` {Function} Function to filter copied files/directories. Return
1004
- ` true ` to copy the item, ` false ` to ignore it. Can also return a ` Promise `
1004
+ ` true ` to copy the item, ` false ` to ignore it. When ignoring a directory,
1005
+ all of its contents will be skipped as well. Can also return a ` Promise `
1005
1006
that resolves to ` true ` or ` false ` **Default:** ` undefined ` .
1006
1007
* ` src` {string} source path to copy.
1007
1008
* ` dest` {string} destination path to copy to.
@@ -2351,7 +2352,8 @@ changes:
2351
2352
* `errorOnExist` {boolean} when `force` is `false`, and the destination
2352
2353
exists, throw an error. **Default:** `false`.
2353
2354
* `filter` {Function} Function to filter copied files/directories. Return
2354
- `true` to copy the item, `false` to ignore it. Can also return a `Promise`
2355
+ `true` to copy the item, `false` to ignore it. When ignoring a directory,
2356
+ all of its contents will be skipped as well. Can also return a `Promise`
2355
2357
that resolves to `true` or `false` **Default:** `undefined`.
2356
2358
* `src` {string} source path to copy.
2357
2359
* `dest` {string} destination path to copy to.
@@ -5278,7 +5280,8 @@ changes:
5278
5280
* ` errorOnExist` {boolean} when ` force` is ` false` , and the destination
5279
5281
exists, throw an error. ** Default: ** ` false` .
5280
5282
* ` filter` {Function } Function to filter copied files/ directories . Return
5281
- ` true` to copy the item, ` false` to ignore it. ** Default: ** ` undefined`
5283
+ ` true` to copy the item, ` false` to ignore it . When ignoring a directory,
5284
+ all of its contents will be skipped as well. ** Default: ** ` undefined`
5282
5285
* ` src` {string} source path to copy.
5283
5286
* ` dest` {string} destination path to copy to.
5284
5287
* Returns: {boolean}
0 commit comments