pub fn is_hidden_path<P>(path: P) -> boolwhere P: AsRef<Path>,
Checks if the provided path has a hidden path component.
A path is hidden if one of its path component (filename or directory name) starts with a dot.