Skip to content

Commit

Permalink
feat(builtins): add copyFileAsync/fsCopyFileAsync functions
Browse files Browse the repository at this point in the history
  • Loading branch information
nampdn committed Dec 4, 2018
1 parent 6f3dded commit f161bbe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/builtins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export const unlinkAsync = promisify(fs.unlink)
export const renameAsync = promisify(fs.rename)
export const existsAsync = promisify(fs.exists)
export const readdirAsync = promisify(fs.readdir)
export const copyFileAsync = promisify(fs.copyFile)

// Native node fs
export const fsReadFileAsync = promisify(fs.readFile)
Expand All @@ -21,4 +22,5 @@ export const fsUnlinkAsync = promisify(fs.unlink)
export const fsRenameAsync = promisify(fs.rename)
export const fsExistsAsync = promisify(fs.exists)
export const fsReaddirAsync = promisify(fs.readdir)
export const fsCopyFileAsync = promisify(fs.copyFile)

0 comments on commit f161bbe

Please sign in to comment.