mirror of
https://github.com/Llewellynvdm/exa.git
synced 2025-02-02 02:28:24 +00:00
Clean
This commit is contained in:
parent
00f97a9738
commit
0ea8f17b22
@ -617,6 +617,6 @@ mod filename_test {
|
|||||||
#[test]
|
#[test]
|
||||||
#[cfg(unix)]
|
#[cfg(unix)]
|
||||||
fn topmost() {
|
fn topmost() {
|
||||||
assert_eq!("/", File::filename(Path::new("/")));
|
assert_eq!("/", File::filename(Path::new("/")))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -159,11 +159,13 @@ impl Column {
|
|||||||
_ => Alignment::Left,
|
_ => Alignment::Left,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
pub fn alignment(&self) -> Alignment {
|
pub fn alignment(&self) -> Alignment {
|
||||||
match *self {
|
match self {
|
||||||
Column::FileSize | Column::GitStatus => Alignment::Right,
|
Self::FileSize |
|
||||||
_ => Alignment::Left,
|
Self::GitStatus => Alignment::Right,
|
||||||
|
_ => Alignment::Left,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user