We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7943c2 commit ca2b9a0Copy full SHA for ca2b9a0
tests/blobs.rs
@@ -4,7 +4,7 @@ use std::{
4
time::Duration,
5
};
6
7
-use iroh_blobs::{net_protocol::Blobs, store::GcConfig, util::local_pool::LocalPool, Hash};
+use iroh_blobs::{net_protocol::Blobs, store::GcConfig, util::local_pool::LocalPool};
8
use iroh_net::Endpoint;
9
use testresult::TestResult;
10
@@ -39,6 +39,7 @@ async fn blobs_gc_protected() -> TestResult<()> {
39
>,
40
> = blobs.clone().client();
41
let h1 = client.add_bytes(b"test".to_vec()).await?;
42
+ let protected = Arc::new(Mutex::new(Vec::new()));
43
blobs.add_protected(Box::new({
44
let protected = protected.clone();
45
move |x| {
0 commit comments