Removes a file from the filesystem.
This function will return an error in the following situations, but is not limited to just these cases:
- The current process does not have the permission rights to access
⚠Be careful when using this code, it's not being tested!
extern crate fs_extra; use fs_extra::file::remove; remove("foo.txt" )?; // Remove foo.txt