Treatment remove
fs/dir::remove
Parameters
↳ var recursive: bool = true
Inputs
⇥ filesystem: Block<FileSystem> (fs/filesystem::FileSystem)
⇥ path: Block<string>
Outputs
↦ completed: Block<void>
↦ error: Block<string>
↦ failed: Block<void>
↦ finished: Block<void>
Remove a directory.
The directory at path is removed, with all its content when recursive (the default),
or only when empty otherwise. Links within it are removed themselves, never what they point
to.
completed is emitted when the directory is removed. If it cannot be, failed is emitted
and error contains the reason. finished is emitted in both cases.