diff options
author | Ben S <ogham@bsago.me> | 2015-02-03 13:48:39 +0000 |
---|---|---|
committer | Ben S <ogham@bsago.me> | 2015-02-03 13:48:39 +0000 |
commit | 827a1e11fdd47da2dd090f5ce99afe9a7cfbb434 (patch) | |
tree | 5c2ae1a18f1bd4ae7ad8209d538c1a2b71ced305 /src/column.rs | |
parent | f82539791280036364549cbcdf989de82110c785 (diff) |
Make filename not a column
FileName was always a special-cased column, as it was assumed to be the last column in the output. Now, it's explicitly marked as such. This allows the hash marks to be placed before the filename, rather than at the start of the line.
Diffstat (limited to 'src/column.rs')
-rw-r--r-- | src/column.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/column.rs b/src/column.rs index 210e69e..74d449d 100644 --- a/src/column.rs +++ b/src/column.rs @@ -5,7 +5,6 @@ use ansi_term::Style; #[derive(PartialEq, Debug, Copy)] pub enum Column { Permissions, - FileName, FileSize(SizeFormat), Blocks, User, @@ -49,7 +48,6 @@ impl Column { pub fn header(&self) -> &'static str { match *self { Column::Permissions => "Permissions", - Column::FileName => "Name", Column::FileSize(_) => "Size", Column::Blocks => "Blocks", Column::User => "User", |