Skip to content

Commit

Permalink
[extract] Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
ktwrd committed Sep 15, 2024
1 parent 81ce7cd commit bf28450
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions src/extract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,19 +143,7 @@ pub fn unpack_tarball(
pb.finish();
Ok(())
}
fn open_tarball_file(tarball_location: String, output_directory: String) -> Result<File, BeansError>
{
match File::open(&tarball_location)
{
Ok(x) => Ok(x),
Err(e) => Err(BeansError::TarExtractFailure {
src_file: tarball_location,
target_dir: output_directory,
error: e,
backtrace: Backtrace::capture()
})
}
}

pub fn decompress_zstd(
zstd_location: String,
output_file: String,
Expand Down

0 comments on commit bf28450

Please sign in to comment.