@ende/fs/unstable-copy-file

ende add jsr:@ende/fs

Version 2026.10.15 on JSR.

Exports

  • copyFile — Copies the contents and permissions of one file to another specified path, by default creating a new file if needed, else overwriting. Fails if target path is a directory or is unwritable.
  • copyFileSync — Synchronously copies the contents and permissions of one file to another specified path, by default creating a new file if needed, else overwriting. Fails if target path is a directory or is unwritable.