Skip to main content

get_size_in_archive_from_name_ext

Function get_size_in_archive_from_name_ext 

Source
pub fn get_size_in_archive_from_name_ext(
    archive_path: &str,
    name: &str,
    ext: &str,
) -> Result<u64, SigmfError>
Expand description

Returns the size in bytes of the archive member {name}.{ext} in the tar file at archive_path, without reading its contents.

ยงErrors

Returns SigmfError::NotFound if no member matches, or SigmfError::Io if the archive cannot be opened or read.