Function latin::file::exists [] [src]

pub fn exists<P: AsRef<Path>>(path: P) -> bool

Returns true if path exists and is a file.

if latin::file::exists("foo.txt") {
    // do stuff
}