Skip to content

FileSystemAdapter.copyRecursive method

FileSystemAdapter › copyRecursive

Unofficial

Copy a file or directory recursively.

Signature:

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

Parameters:

Parameter Type Description
sourcePath string Source path.
destinationPath string Destination path.

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