summaryrefslogtreecommitdiffstats
path: root/src/run.rs
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2020-03-21 12:39:54 -0400
committerJiayi Zhao <jeff.no.zhao@gmail.com>2020-03-21 12:39:54 -0400
commitc2de16c1e1d7cc8f5cc40f3ca977e01c6e1a9f2a (patch)
tree7bb04fd08e62f03d34ac500076f4bcd8fbef67a4 /src/run.rs
parentf2815145cb3da431ebeaf154b8d9964331d6cd4c (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.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/run.rs b/src/run.rs
index 65f52c8..23002da 100644
--- a/src/run.rs
+++ b/src/run.rs
@@ -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()),
};