* Synchronously copies `src` to `dest`. `src` can be a file, directory, or * symlink. The contents of directories will be copied recursively. * @param {string | URL} src * @param {string | URL} dest * @param {object} [options] * @returns {void}
(src, dest, options)
| 3709 | * @returns {void} |
| 3710 | */ |
| 3711 | function cpSync(src, dest, options) { |
| 3712 | options = validateCpOptions(options); |
| 3713 | src = getValidatedPath(src, 'src'); |
| 3714 | dest = getValidatedPath(dest, 'dest'); |
| 3715 | lazyLoadCp(); |
| 3716 | cpSyncFn(src, dest, options); |
| 3717 | } |
| 3718 | |
| 3719 | function lazyLoadStreams() { |
| 3720 | if (!ReadStream) { |
no test coverage detected
searching dependent graphs…