@haxall/haxall
    Preparing search index...

    Function cp

    • Experimental

      Asynchronously copies the entire directory structure from src to dest, including subdirectories and files.

      When copying a directory to another directory, globs are not supported and behavior is similar to cp dir1/ dir2/.

      Parameters

      • source: string | URL
      • destination: string | URL
      • callback: (err: ErrnoException) => void

      Returns void

      v16.7.0

    • Experimental

      Asynchronously copies the entire directory structure from src to dest, including subdirectories and files.

      When copying a directory to another directory, globs are not supported and behavior is similar to cp dir1/ dir2/.

      Parameters

      • source: string | URL
      • destination: string | URL
      • opts: CopyOptions
      • callback: (err: ErrnoException) => void

      Returns void

      v16.7.0