@servicenow/sdk - v4.7.0
    Preparing search index...
    • Synchronously copies the file or directory at the source path to the destination path. If the source path is a directory, only its contents will be copied, not the directory itself. If the source path is a file, the destination path cannot be a directory.

      If options.filter is provided, only entries for which the filter returns true will be copied.

      Parameters

      • fs: FileSystem
      • srcPath: string
      • destPath: string
      • Optionaloptions: { filter(src: string): boolean }

      Returns void