mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-21 13:08:42 +00:00
Make debug!
message more consistent
in `extract_compressed_from_readable` Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
225cf74cd9
commit
94c77c32b4
1 changed files with 3 additions and 3 deletions
|
@ -81,21 +81,21 @@ pub(super) fn extract_compressed_from_readable<V: TarEntriesVisitor, R: BufRead>
|
||||||
}
|
}
|
||||||
Tgz => {
|
Tgz => {
|
||||||
// Extract to install dir
|
// Extract to install dir
|
||||||
debug!("Decompressing from tgz archive {msg}");
|
debug!("Decompressing from tgz archive: {msg}");
|
||||||
|
|
||||||
let tar = GzDecoder::new(dat);
|
let tar = GzDecoder::new(dat);
|
||||||
untar(tar, op)?;
|
untar(tar, op)?;
|
||||||
}
|
}
|
||||||
Txz => {
|
Txz => {
|
||||||
// Extract to install dir
|
// Extract to install dir
|
||||||
debug!("Decompressing from txz archive {msg}");
|
debug!("Decompressing from txz archive: {msg}");
|
||||||
|
|
||||||
let tar = XzDecoder::new(dat);
|
let tar = XzDecoder::new(dat);
|
||||||
untar(tar, op)?;
|
untar(tar, op)?;
|
||||||
}
|
}
|
||||||
Tzstd => {
|
Tzstd => {
|
||||||
// Extract to install dir
|
// Extract to install dir
|
||||||
debug!("Decompressing from tzstd archive {msg}");
|
debug!("Decompressing from tzstd archive: {msg}");
|
||||||
|
|
||||||
// The error can only come from raw::Decoder::with_dictionary
|
// The error can only come from raw::Decoder::with_dictionary
|
||||||
// as of zstd 0.10.2 and 0.11.2, which is specified
|
// as of zstd 0.10.2 and 0.11.2, which is specified
|
||||||
|
|
Loading…
Add table
Reference in a new issue