-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from acridotheres/rustfmt-f016cb7384261e018ed4f…
…0ededd887ba1a88dd18 Format code using rustfmt for f016cb7
- Loading branch information
Showing
3 changed files
with
25 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
pub mod extract; | ||
pub mod list; | ||
pub mod metadata; | ||
pub mod version; | ||
pub mod list; | ||
pub mod extract; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,24 @@ | ||
use corelib::{archive, formats}; | ||
|
||
pub fn extract(format: String, input: String, output: String, index: Option<u32>, path: Option<String>, all: bool, check_integrity: bool, buffer_size: u64) { | ||
archive::extract(formats::from_string(&format), input, output, index, path, all, check_integrity, buffer_size).unwrap(); | ||
} | ||
pub fn extract( | ||
format: String, | ||
input: String, | ||
output: String, | ||
index: Option<u32>, | ||
path: Option<String>, | ||
all: bool, | ||
check_integrity: bool, | ||
buffer_size: u64, | ||
) { | ||
archive::extract( | ||
formats::from_string(&format), | ||
input, | ||
output, | ||
index, | ||
path, | ||
all, | ||
check_integrity, | ||
buffer_size, | ||
) | ||
.unwrap(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters