Skip to content

FileSystemAdapter.copyRecursive method

FileSystemAdapter › copyRecursive

Unofficial

Copy a file or directory recursively.

Signature:

copyRecursive(sourcePath: string, destinationPath: string): Promise<void>

Parameters:

ParameterTypeDescription
sourcePathstringSource path.
destinationPathstringDestination path.

Returns: Promise<void>A promise that resolves when the copy is complete.