pub fn is_hidden(entry: &Path) -> bool {
    entry.file_name()
        .unwrap()
        .to_str()
        .map(|s| s.starts_with("."))
        .unwrap_or(false)
}
// check if a file is hidden
check if a file is hidden
check if a file is hidden
pub fn is_hidden(entry: &Path) -> bool {
    entry.file_name()
        .unwrap()
        .to_str()
        .map(|s| s.starts_with("."))
        .unwrap_or(false)
}
pub fn is_hidden ( entry : & Path ) -> bool { entry . file_name ( ) . unwrap ( ) . to_str ( ) . map ( | s | s . starts_with ( " " ) ) . unwrap_or ( false ) }
check if a file is hidden
check if a file is hidden
entry
&Path
entry
&Path