[][src]Function fsutils::path_exists

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

Checks if a path exists and returns a boolean based on success or failure.

Usage:

fsutils::create_file("testfile");
assert_eq!(fsutils::path_exists("testfile"), true);
assert_eq!(fsutils::path_exists("a_very_1234_unlikely_9876_filename"), false);