Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Node/FileSystem/copySync

Index

Functions

Functions

copy

  • copy(source: string, target: string): void
  • Copies either a single file or a whole directory to a given target location

    Parameters

    • source: string

      The absolute path to the source file or directory

    • target: string

      Either the absolute path of a directory, or the absolute file path to copy to

    Returns void

Generated using TypeDoc