Experimental
Asynchronously copies the entire directory structure from src to dest, including subdirectories and files.
src
dest
When copying a directory to another directory, globs are not supported and behavior is similar to cp dir1/ dir2/.
cp dir1/ dir2/
Optional
Fulfills with undefined upon success.
undefined
v16.7.0
Generated using TypeDoc
Asynchronously copies the entire directory structure from
src
todest
, including subdirectories and files.When copying a directory to another directory, globs are not supported and behavior is similar to
cp dir1/ dir2/
.