Module
Node.FS.Extra
- Package
- purescript-node-fs-extra
- Repository
- nonbili/purescript-node-fs-extra
#ensureFile Source
ensureFile :: FilePath -> Aff Unit
Ensures 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 Unit
Ensures that the link exists. If the directory structure does not exist, it is created.
#ensureSymlink Source
ensureSymlink :: FilePath -> FilePath -> Aff Unit
Ensures that the symlink exists. If the directory structure does not exist, it is created.
#outputFile Source
outputFile :: FilePath -> Buffer -> Aff Unit
Almost the same as writeFile
(i.e. it
overwrites), except that if the
parent directory does not exist, it's created.
- Modules
- Node.
FS. Extra