mirror of
https://github.com/Llewellynvdm/exa.git
synced 2025-02-02 02:28:24 +00:00
Clean
This commit is contained in:
parent
13b3635407
commit
33dd8fd2ca
@ -239,9 +239,11 @@ impl<'a, 'dir, C: Colours> FileName<'a, 'dir, C> {
|
|||||||
fn classify_char(&self) -> Option<&'static str> {
|
fn classify_char(&self) -> Option<&'static str> {
|
||||||
if self.file.is_directory() {
|
if self.file.is_directory() {
|
||||||
Some("/")
|
Some("/")
|
||||||
} else if self.file.is_link() {
|
}
|
||||||
|
else if self.file.is_link() {
|
||||||
Some("@")
|
Some("@")
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
None
|
None
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -468,6 +468,7 @@ impl<'a, 'f> Table<'a> {
|
|||||||
Column::Octal => {
|
Column::Octal => {
|
||||||
self.octal_permissions(file).render(self.theme.ui.octal)
|
self.octal_permissions(file).render(self.theme.ui.octal)
|
||||||
}
|
}
|
||||||
|
|
||||||
Column::Timestamp(TimeType::Modified) => {
|
Column::Timestamp(TimeType::Modified) => {
|
||||||
file.modified_time().render(self.theme.ui.date, &self.env.tz, self.time_format)
|
file.modified_time().render(self.theme.ui.date, &self.env.tz, self.time_format)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user