* Copies a file synchronously. * @param {string} src Source path * @param {string} dest Destination path * @param {number} [mode] Copy mode flags
(src, dest, mode)
| 366 | * @param {number} [mode] Copy mode flags |
| 367 | */ |
| 368 | copyFileSync(src, dest, mode) { |
| 369 | const srcProviderPath = this.#toProviderPath(src); |
| 370 | const destProviderPath = this.#toProviderPath(dest); |
| 371 | this[kProvider].copyFileSync(srcProviderPath, destProviderPath, mode); |
| 372 | } |
| 373 | |
| 374 | /** |
| 375 | * Gets the real path by resolving all symlinks. |
nothing calls this directly
no test coverage detected