Skip to content

Latest commit

 

History

History
66 lines (47 loc) · 1.82 KB

api.md

File metadata and controls

66 lines (47 loc) · 1.82 KB

fs-r : Object fs recursive functions

Version: 0.1

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