Crate deep_unpack

Source
Expand description

Packing deep archives files from a root folder.

§Usage

use std::path::Path;

fn main() {
    let extract_file = Path::new("tests").join("mocks").join("multiple");
    let destination_folder = Path::new("tmp").join("extract").join("multiple");
    let result = deep_unpack::DeepWalk::new()
        .folder(format!("{}", extract_file.display()))
        .unpack_folder(format!("{}", destination_folder.display()))
        .unpack_level(4 as u32)
        .extract()
        .unwrap();

    println!("{:#?}", result);
}

Structs§

DeepWalk
NoWalkList
UnpackStatus

Enums§

ArchiveKind