diff options
author | Canop <cano.petrole@gmail.com> | 2020-05-01 14:01:02 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2020-05-01 21:31:53 +0200 |
commit | 0199162bc8d4fee5bb7f07fbb41570df95205057 (patch) | |
tree | 74c6bb798700b7dc7cc21c0173319f6ee51ba02c /src/file_sizes/file_sizes_default.rs | |
parent | cf52bbe7dc19cba78d65f431caa2af36c23da589 (diff) |
command/verb/apply refactoring
* simpler, with immutable commands
* more commands can be triggered by shortcuts
* one can apply verbs to the input (using shortcuts)
Diffstat (limited to 'src/file_sizes/file_sizes_default.rs')
-rw-r--r-- | src/file_sizes/file_sizes_default.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_sizes/file_sizes_default.rs b/src/file_sizes/file_sizes_default.rs index e593e61..178b75c 100644 --- a/src/file_sizes/file_sizes_default.rs +++ b/src/file_sizes/file_sizes_default.rs @@ -1,6 +1,7 @@ //! size computation for non linux use { + super::FileSize, crate::task_sync::Dam, crossbeam::{channel::unbounded, sync::WaitGroup}, std::{ @@ -11,7 +12,6 @@ use { thread, time::Duration, }, - super::FileSize, }; // Note that this version doesn't try to compute the real size taken |