feat(libarchive): added FileWritter, also apparently formatted sys

This commit is contained in:
Jef Roosens 2023-07-13 16:39:52 +02:00
parent f9c5faeda8
commit eb9f6a5cb1
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
9 changed files with 837 additions and 573 deletions

View file

@ -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;

View file

@ -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,
}
}