Browse Source

Update README.md

Had to look into code to find move did accept and options object
ci/travis-osximage
Billy Newman 10 years ago
parent
commit
bf759aaabb
  1. 6
      README.md

6
README.md

@ -153,10 +153,14 @@ fs.mkdirsSync('/tmp/another/path');
```
### move(src, dest, callback)
### move(src, dest, [options], callback)
Moves a file or directory, even across devices.
Options:
clobber (boolean): overwrite existing file or directory
limit: (number): number of concurrent moves, see ncp for more information
Example:
```javascript

Loading…
Cancel
Save