feat(repo): write db archive parser
This commit is contained in:
parent
986162e926
commit
d38fd5ca74
5 changed files with 84 additions and 7 deletions
|
|
@ -5,6 +5,6 @@ pub mod write;
|
|||
|
||||
pub use archive::{
|
||||
Entry, ExtractOption, ExtractOptions, Handle, ReadCompression, ReadFilter, ReadFormat,
|
||||
WriteFilter, WriteFormat,
|
||||
WriteFilter, WriteFormat, FileType,
|
||||
};
|
||||
pub use error::Result;
|
||||
|
|
|
|||
|
|
@ -6,9 +6,10 @@ pub use builder::Builder;
|
|||
|
||||
use crate::archive::Handle;
|
||||
use crate::ReadFilter;
|
||||
use entries::Entries;
|
||||
pub use entries::{Entries, ReadEntry};
|
||||
use libarchive3_sys::ffi;
|
||||
use std::path::Path;
|
||||
pub use file::FileReader;
|
||||
|
||||
// Represents a read view of an archive
|
||||
pub trait Archive: Handle + Sized {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue