Function path_exists

Source
fn path_exists(path: &String, _context: &&&()) -> Result
Expand description

Internal validator function that validates the given value is an existing path to a file.

§Errors

Returns a garde::Error when given a path that doesn’t exist or refers to a folder.