Skip to content

Commit 36a0c67

Browse files
authored
feat: re-export ObjectHead as public (#253)
1 parent 51dc1cd commit 36a0c67

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

fusio-manifest/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pub use crate::{
2121
checkpoint::{CheckpointStore, CheckpointStoreImpl},
2222
head::{HeadStore, HeadStoreImpl},
2323
lease::{LeaseStore, LeaseStoreImpl},
24-
segment::{SegmentIo, SegmentStoreImpl},
24+
segment::{ObjectHead, SegmentIo, SegmentStoreImpl},
2525
};
2626
pub(crate) mod backoff;
2727
pub use backoff::BackoffPolicy;

fusio-manifest/src/segment.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ pub struct SegmentStoreImpl<FS> {
6868

6969
const TXN_ID_HEADER: &str = "x-amz-meta-fusio-txn-id";
7070

71-
trait ObjectHead {
71+
/// Capability for fetching object metadata without downloading the payload.
72+
pub trait ObjectHead {
7273
fn head_metadata<'a>(
7374
&'a self,
7475
path: &'a Path,

0 commit comments

Comments
 (0)