Treatment remove
fs/file::remove
Inputs
⇥ filesystem: Block<FileSystem> (fs/filesystem::FileSystem)
⇥ path: Block<string>
Outputs
↦ completed: Block<void>
↦ error: Block<string>
↦ failed: Block<void>
↦ finished: Block<void>
Remove one file.
The file or link at path is removed: a link is removed itself, never what it points to.
Directories are removed with fs/dir::remove.
completed is emitted when the file is removed. If it cannot be, failed is emitted and
error contains the reason. finished is emitted in both cases.