pub fn is_hidden(filename: &OsStr) -> bool
Checks if a filename is prefixed by a ‘.’ character. If the path cannot be read as UTF-8, assume it isn’t hidden.