[][src]Function fungus::sys::exists

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

Returns true if the given path exists. Handles path expansion.

Examples

use fungus::prelude::*;

assert_eq!(sys::exists("/etc"), true);