diff options
author | Ben S <ogham@bsago.me> | 2014-07-22 20:47:30 +0100 |
---|---|---|
committer | Ben S <ogham@bsago.me> | 2014-07-22 20:47:30 +0100 |
commit | 44a9819417945ac1799552611d09379099d0f5e0 (patch) | |
tree | 6ce7d257aca0b5fa0ce7640566a26946d408cd5b /src/file.rs | |
parent | d15529301f9b35718ad4c0db25b347f03f23e839 (diff) |
Add --oneline option
Also, rename old 'lines' view to 'details' which makes more sense
Diffstat (limited to 'src/file.rs')
-rw-r--r-- | src/file.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file.rs b/src/file.rs index 0de2655..1cc57b1 100644 --- a/src/file.rs +++ b/src/file.rs @@ -141,7 +141,7 @@ impl<'a> File<'a> { } } - fn file_name(&self) -> String { + pub fn file_name(&self) -> String { let name = self.name.as_slice(); let displayed_name = self.file_colour().paint(name); if self.stat.kind == io::TypeSymlink { |