Function is_hidden

Source
pub fn is_hidden(filename: &OsStr) -> bool
Expand description

Checks if a filename is prefixed by a ‘.’ character. If the path cannot be read as UTF-8, assume it isn’t hidden.