Function humphrey_server::server::route::try_find_path [−][src]
pub fn try_find_path(
directory: &str,
request_path: &str,
index_files: &[&str]
) -> Option<LocatedPath>
Expand description
Attemps to find a given path.
If the path itself is not found, attemps to find index files within it.
If these are not found, returns None
.