feat(libarchive): added FileWritter, also apparently formatted sys
This commit is contained in:
parent
f9c5faeda8
commit
eb9f6a5cb1
9 changed files with 837 additions and 573 deletions
|
|
@ -2,7 +2,6 @@ use crate::archive::Entry;
|
|||
use crate::error::ArchiveError;
|
||||
use crate::read::Archive;
|
||||
use libarchive3_sys::ffi;
|
||||
use libc::{c_void, ssize_t};
|
||||
use std::io;
|
||||
use std::io::Read;
|
||||
use std::marker;
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ pub trait Archive: Handle + Sized {
|
|||
3 => Some(ReadFilter::Compress),
|
||||
5 => Some(ReadFilter::Lzma),
|
||||
6 => Some(ReadFilter::Xz),
|
||||
14 =>Some( ReadFilter::Zstd),
|
||||
14 => Some(ReadFilter::Zstd),
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue