diff --git a/src/fs/mod.rs b/src/fs/mod.rs index 138ef40..3c4c75f 100644 --- a/src/fs/mod.rs +++ b/src/fs/mod.rs @@ -97,6 +97,7 @@ impl std::fmt::Display for FsEntry { Some(_) => 'l', None => 'd', }; + mode.push(file_type); match dir.unix_pex { None => mode.push_str("?????????"), Some((owner, group, others)) => { @@ -185,6 +186,7 @@ impl std::fmt::Display for FsEntry { Some(_) => 'l', None => '-', }; + mode.push(file_type); match file.unix_pex { None => mode.push_str("?????????"), Some((owner, group, others)) => { @@ -283,6 +285,7 @@ impl std::fmt::Display for FsEntry { Some(_) => 'l', None => 'd', }; + mode.push(file_type); match dir.unix_pex { None => mode.push_str("?????????"), Some((owner, group, others)) => { @@ -365,6 +368,7 @@ impl std::fmt::Display for FsEntry { Some(_) => 'l', None => '-', }; + mode.push(file_type); match file.unix_pex { None => mode.push_str("?????????"), Some((owner, group, others)) => {