Initial stabilization #1
1 changed files with 2 additions and 2 deletions
commit
686e5671da
|
|
@ -2,7 +2,7 @@ use std::{collections::HashMap, path::PathBuf};
|
||||||
|
|
||||||
use anode_cache_common::{CacheKey, Client, actions_token, key_parser, paths_parser};
|
use anode_cache_common::{CacheKey, Client, actions_token, key_parser, paths_parser};
|
||||||
use anyhow::{Context, Result};
|
use anyhow::{Context, Result};
|
||||||
use flate2::{Compression, GzBuilder};
|
use flate2::read::GzDecoder;
|
||||||
use secrecy::ExposeSecret;
|
use secrecy::ExposeSecret;
|
||||||
use tar::Archive;
|
use tar::Archive;
|
||||||
|
|
||||||
|
|
@ -41,7 +41,7 @@ fn main() -> Result<()> {
|
||||||
};
|
};
|
||||||
let mut cache = &*cache;
|
let mut cache = &*cache;
|
||||||
|
|
||||||
let in_uncomp = GzBuilder::new().read(&mut cache, Compression::best());
|
let in_uncomp = GzDecoder::new(&mut cache);
|
||||||
let mut archive = Archive::new(in_uncomp);
|
let mut archive = Archive::new(in_uncomp);
|
||||||
let mut paths = path
|
let mut paths = path
|
||||||
.into_iter()
|
.into_iter()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue