[][src]Function fsutils::rm

pub fn rm(path: &str) -> bool

Removes a file at passed path and returns a boolean based on success or failure.

Usage:

fsutils::create_file("testfile.txt");
assert_eq!(fsutils::rm("testfile.txt"), true);