ryanmcgrath / wrench-js

Recursive file operations in Node.js
MIT License
435 stars 71 forks source link

copyFileSync? #40

Closed jescalan closed 12 years ago

jescalan commented 12 years ago

There's a utility for copying a directory, but it doesn't look like there's anything in wrench for copying a single file. Is this easy to add? I can try to look through it and submit a pull request if you want, but I'm not familiar with the lower level node filesystem operations (yet!)

ryanmcgrath commented 12 years ago

Correct me if I'm wrong, but... Node already has this...?

jescalan commented 12 years ago

Not that I'm aware of. http://nodejs.org/api/fs.html