Function exists

Source
pub fn exists<P: AsRef<Path>>(path: P) -> Result<bool>
Expand description

Returns Ok(true) if the path points at an existing entity.

Wrapper for fs::exists.