fynjs API
    Preparing search index...

    Function cloneFilesSync

    • Clone files (relative paths) from srcDir into destDir in parallel. Where a clone isn't possible, hardlink hardlinks the file instead of copying it. copyFallback false (default true) fails instead of copying a file that can't be placed. Parent directories are created as needed. Fails on the first error, or on two entries for one file.

      Parameters

      • srcDir: string
      • destDir: string
      • files: string[]
      • Optionalhardlink: boolean | null
      • OptionalcopyFallback: boolean | null

      Returns CloneStats