ifs 0.1.34

util for write / read file
Documentation
1
2
3
4
5
6
7
8
use walkdir::DirEntry;
pub fn is_hidden(entry: &DirEntry) -> bool {
  entry
    .file_name()
    .to_str()
    .map(|s| s.starts_with('.'))
    .unwrap_or(false)
}