Function copyFile

  • Copy source file to destination, overwite if exists.

    Parameters

    Returns void

  • Copy source file to destination, overwite if exists.

    Parameters

    • src: PathLike

      source path

    • dest: PathLike

      destination path

    • mode: number

      copy mode (COPYFILE_EXCL, COPYFILE_FICLONE, COPYFILE_FICLONE_FORCE)

    • callback: NoParamCallback

      callback (err)

    Returns void

  • Copy source file to destination, overwite if exists.

    Parameters

    • src: PathLike

      source path

    • dest: PathLike

      destination path

    • Optional mode: number

      copy mode (COPYFILE_EXCL, COPYFILE_FICLONE, COPYFILE_FICLONE_FORCE)

    Returns Promise<void>

Generated using TypeDoc