diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2020-03-21 12:39:54 -0400 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2020-03-21 12:39:54 -0400 |
commit | c2de16c1e1d7cc8f5cc40f3ca977e01c6e1a9f2a (patch) | |
tree | 7bb04fd08e62f03d34ac500076f4bcd8fbef67a4 /src/run.rs | |
parent | f2815145cb3da431ebeaf154b8d9964331d6cd4c (diff) |
wrap fs::FileType with in-house solution
- This allows for efficient symlink lookup through caching
- Theme processing happens upfront rather than recomputing styling
over and over
Diffstat (limited to 'src/run.rs')
-rw-r--r-- | src/run.rs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -63,7 +63,8 @@ pub fn run(config_t: JoshutoConfig, keymap_t: JoshutoCommandMapping) -> std::io: let size_string = format::file_size_to_string(s); format!( "io_worker completed successfully: {} processed", - size_string) + size_string + ) } Err(e) => format!("io_worker was not completed: {}", e.to_string()), }; |