[−][src]Function rubric::helpers::fs::file_exists
pub fn file_exists<P: AsRef<Path>>(path: P) -> bool
Returns true if a file or dir at the given path exists
use rubric::helpers::fs; assert!(fs::file_exists("Cargo.toml"));