Function fsutils::rm[][src]

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

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);