Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion examples/expiring-tags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 1 addition & 2 deletions src/store/fs/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
2 changes: 2 additions & 0 deletions src/store/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Loading