diff --git a/examples/expiring-tags.rs b/examples/expiring-tags.rs index e19771e80..bf3397c88 100644 --- a/examples/expiring-tags.rs +++ b/examples/expiring-tags.rs @@ -17,7 +17,10 @@ use futures_lite::StreamExt; use iroh_blobs::{ api::{blobs::AddBytesOptions, Store, Tag}, hashseq::HashSeq, - store::fs::options::{BatchOptions, GcConfig, InlineOptions, Options, PathOptions}, + store::{ + fs::options::{BatchOptions, InlineOptions, Options, PathOptions}, + GcConfig, + }, BlobFormat, Hash, }; use tokio::signal::ctrl_c; diff --git a/src/store/fs/options.rs b/src/store/fs/options.rs index afd723c5b..8451b48a5 100644 --- a/src/store/fs/options.rs +++ b/src/store/fs/options.rs @@ -5,8 +5,7 @@ use std::{ }; use super::{meta::raw_outboard_size, temp_name}; -pub use crate::store::gc::{GcConfig, ProtectCb, ProtectOutcome}; -use crate::Hash; +use crate::{store::gc::GcConfig, Hash}; /// Options for directories used by the file store. #[derive(Debug, Clone)] diff --git a/src/store/mod.rs b/src/store/mod.rs index 9d7290da5..a4d529940 100644 --- a/src/store/mod.rs +++ b/src/store/mod.rs @@ -15,3 +15,5 @@ pub(crate) mod util; /// Block size used by iroh, 2^4*1024 = 16KiB pub const IROH_BLOCK_SIZE: BlockSize = BlockSize::from_chunk_log(4); + +pub use gc::{GcConfig, ProtectCb, ProtectOutcome};