Module
Node.FS.Extra
- Package
- purescript-node-fs-extra
- Repository
- nonbili/purescript-node-fs-extra
#ensureFile Source
ensureFile :: FilePath -> Aff UnitEnsures that the file exists. If the file that is requested to be created is in directories that do not exist, these directories are created. If the file already exists, it is NOT MODIFIED.
#ensureLink Source
ensureLink :: FilePath -> FilePath -> Aff UnitEnsures that the link exists. If the directory structure does not exist, it is created.
#ensureSymlink Source
ensureSymlink :: FilePath -> FilePath -> Aff UnitEnsures that the symlink exists. If the directory structure does not exist, it is created.
#outputFile Source
outputFile :: FilePath -> Buffer -> Aff UnitAlmost the same as writeFile (i.e. it
overwrites), except that if the
parent directory does not exist, it's created.
- Modules
- Node.
FS. Extra