diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-06-23 21:00:32 -0400 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-06-23 21:00:32 -0400 |
commit | af8ee55b59b12201a4196cbd543238900b5c5dde (patch) | |
tree | 97cc3040d4fbbab72afbb2caf41b043bf1f75c08 /src/commands/mod.rs | |
parent | 950e49980b5569ad53eaeba2e37587de7a085aa8 (diff) |
refactor file operations to use fs_extra
- add fs_extra_extra for specific use case
Diffstat (limited to 'src/commands/mod.rs')
-rw-r--r-- | src/commands/mod.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/commands/mod.rs b/src/commands/mod.rs index 93606d3..0d7f82c 100644 --- a/src/commands/mod.rs +++ b/src/commands/mod.rs @@ -69,12 +69,6 @@ impl std::fmt::Display for CommandKeybind { } } -#[derive(Clone, Debug)] -pub struct ProgressInfo { - pub bytes_finished: u64, - pub total_bytes: u64, -} - pub fn from_args(command: &str, args: &[&str]) -> Result<Box<JoshutoCommand>, KeymapError> { match command { "cd" => match args.len() { |