Function compress_tools::list_archive_files
source · pub fn list_archive_files<R>(source: R) -> Result<Vec<String>>where
R: Read + Seek,
Expand description
Get all files in a archive using source
as a reader.
Example
use compress_tools::*;
use std::fs::File;
let mut source = File::open("tree.tar")?;
let file_list = list_archive_files(&mut source)?;