Optional
interpHow to interpret the target/destination of the filepath operation when it is provided as a relative filepath.
cwd
-- The target is resolved relative to the current working directory.path
-- The target is resolved relative to the Path instance which calls the method involving this option.Generated using TypeDoc
Options controlling the behavior of asynchronous methods involving the copying of filepaths. Originally taken from fs-extra, which has the following properties:
overwrite
-- Whether to overwrite existing filepath during the operation. Defaults totrue
.errorOnExist
-- Whether to throw an error if the destination already exists. Defaults tofalse
.dereference
-- Whether to dereference symlinks during the operation. Defaults tofalse
.preserveTimestamps
-- Whether to keep the same timestamps that existed in the source files. Defaults tofalse
.filter
-- A function to filter which filepaths should be copied. Should return true to copy the item, otherwise false.