fs-r : Object
fs recursive functions
Version: 0.1
- fs-r :
Object
- static
- inner
- ~copyDirSyncOptions :
Object
- ~copyDirSyncOptions :
fs-r.mkdirsSync(dest)
mkdir -p <dest>
no error if existing, make parent directories as needed
Kind: static method of fs-r
Param | Type |
---|---|
dest | string |
fs-r.removeDirSync(dest)
rm -r <dest>
no error if not existing, remove directory and its contents recursively
Kind: static method of fs-r
Param | Type |
---|---|
dest | string |
fs-r.copyDirSync(src, dest, [options])
cp -r [options] <src> <dest>
copy directory and its contents recursively
Kind: static method of fs-r
Param | Type |
---|---|
src | string |
dest | string |
[options] | copyDirSyncOptions |
fs-r~copyDirSyncOptions : Object
Kind: inner typedef of fs-r
Properties
Name | Type | Default |
---|---|---|
[overwrite] | boolean |
true |
[preserveFileDate] | boolean |
true |
[readSymbolicLink] | boolean |
false |
[filter] | function |
(filepath,stats)=>true |