diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2020-12-15 11:20:35 -0500 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2020-12-15 11:20:35 -0500 |
commit | f5902708a6e597064482edfc076248a67882b7c5 (patch) | |
tree | 40e97ad84d157bbc670edb97c328ff988f8c8aa6 /src/fs/dirlist.rs | |
parent | 2b29f8485e95fd3cda434ed472992fff2ee8e7a0 (diff) |
folder view now always prefix file names with a space
- remove horizontal margins in folder view
- move copy/cut methods into separate functions
- change some fields to private
Diffstat (limited to 'src/fs/dirlist.rs')
-rw-r--r-- | src/fs/dirlist.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/dirlist.rs b/src/fs/dirlist.rs index 0733f0f..797a83e 100644 --- a/src/fs/dirlist.rs +++ b/src/fs/dirlist.rs @@ -40,7 +40,7 @@ impl JoshutoDirList { let metadata = std::fs::symlink_metadata(self.file_path()); match metadata { Ok(m) => match m.modified() { - Ok(s) => s > self.metadata.modified, + Ok(s) => s > self.metadata.modified(), _ => false, }, _ => false, |