mirror of
https://github.com/nachoparker/dutree
synced 2024-05-28 02:26:05 +02:00
support unicode filenames
This commit is contained in:
parent
b047cbf8f1
commit
fbf575aa66
|
@ -274,7 +274,7 @@ impl<'a> Entry<'a> {
|
|||
|
||||
// argument filters
|
||||
if cfg.exclude.iter().any( |p| entry_name == p ){ continue }
|
||||
if cfg.hiddn_flag && &entry_name[..1] == "." { continue }
|
||||
if cfg.hiddn_flag && entry_name.starts_with("."){ continue }
|
||||
if cfg.no_dir_flg && path.is_dir() { continue }
|
||||
|
||||
let entry = Entry::new( &path.as_path(), cfg, depth );
|
||||
|
|
Loading…
Reference in New Issue