@@ -997,7 +997,8 @@ changes:
997997 * ` errorOnExist` {boolean} when ` force` is ` false ` , and the destination
998998 exists, throw an error. **Default:** ` false ` .
999999 * ` filter` {Function} Function to filter copied files/directories. Return
1000- ` true ` to copy the item, ` false ` to ignore it. Can also return a ` Promise `
1000+ ` true ` to copy the item, ` false ` to ignore it. When ignoring a directory,
1001+ all of its contents will be skipped as well. Can also return a ` Promise `
10011002 that resolves to ` true ` or ` false ` **Default:** ` undefined ` .
10021003 * ` src` {string} source path to copy.
10031004 * ` dest` {string} destination path to copy to.
@@ -2341,7 +2342,8 @@ changes:
23412342 * `errorOnExist` {boolean} when `force` is `false`, and the destination
23422343 exists, throw an error. **Default:** `false`.
23432344 * `filter` {Function} Function to filter copied files/directories. Return
2344- `true` to copy the item, `false` to ignore it. Can also return a `Promise`
2345+ `true` to copy the item, `false` to ignore it. When ignoring a directory,
2346+ all of its contents will be skipped as well. Can also return a `Promise`
23452347 that resolves to `true` or `false` **Default:** `undefined`.
23462348 * `src` {string} source path to copy.
23472349 * `dest` {string} destination path to copy to.
@@ -5262,7 +5264,8 @@ changes:
52625264 * ` errorOnExist` {boolean} when ` force` is ` false` , and the destination
52635265 exists, throw an error. ** Default: ** ` false` .
52645266 * ` filter` {Function } Function to filter copied files/ directories . Return
5265- ` true` to copy the item, ` false` to ignore it. ** Default: ** ` undefined`
5267+ ` true` to copy the item, ` false` to ignore it . When ignoring a directory,
5268+ all of its contents will be skipped as well. ** Default: ** ` undefined`
52665269 * ` src` {string} source path to copy.
52675270 * ` dest` {string} destination path to copy to.
52685271 * Returns: {boolean}
0 commit comments