mirror of
https://github.com/nachoparker/dutree
synced 2024-06-06 03:56:05 +02:00
Merge fbf575aa66
into b047cbf8f1
This commit is contained in:
commit
7527c57db0
|
@ -274,7 +274,7 @@ impl<'a> Entry<'a> {
|
||||||
|
|
||||||
// argument filters
|
// argument filters
|
||||||
if cfg.exclude.iter().any( |p| entry_name == p ){ continue }
|
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 }
|
if cfg.no_dir_flg && path.is_dir() { continue }
|
||||||
|
|
||||||
let entry = Entry::new( &path.as_path(), cfg, depth );
|
let entry = Entry::new( &path.as_path(), cfg, depth );
|
||||||
|
|
Loading…
Reference in New Issue