Function CopyDirectory

  • Recursively copies the contents of a directory from the source path to the destination path asynchronously.

    Parameters

    • src: string

      The source path of the directory to be copied.

    • dest: string

      The destination path where the directory and its contents will be copied.

    Returns Promise<void>

    A Promise that resolves when the directory and its contents are copied successfully.

    "/path/to/source/directory" -> "/path/to/destination/directory"
    

    3.0.0

    2021-08-06