wip
This commit is contained in:
parent
ba20ea4e2a
commit
a2dee988be
2 changed files with 2 additions and 2 deletions
|
|
@ -396,7 +396,7 @@ pub fn extract_deb(input_path: &Path,) -> Result<(),io::Error>{
|
|||
let mut entry = entry_result.unwrap();
|
||||
// Create a new file with the same name as the archive entry:
|
||||
let mut file = File::create(
|
||||
str::from_utf8(entry.header().identifier()).unwrap(),
|
||||
std::str::from_utf8(entry.header().identifier()).unwrap(),
|
||||
).unwrap();
|
||||
// The Entry object also acts as an io::Read, so we can easily copy the
|
||||
// contents of the archive entry into the file:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue