Function latin::directory::exists [] [src]

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

Returns true if path exists and is a directory.

if latin::directory::exists("/tmp") {
    // do stuff
}