Skip to main content

is_hidden

Function is_hidden 

Source
pub(crate) fn is_hidden(path: &str) -> bool
Expand description

Whether a path names a dot-file or something in a dot-dir. ServeDir decodes the whole path before splitting it, so this does too: %2F is a separator to it.