Skip to content

Commit bf29cd8

Browse files
committed
feat: make IndexPack::pack_size() public
1 parent a6c9486 commit bf29cd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/core/src/repofile/indexfile.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ impl IndexPack {
102102

103103
/// Calculate the pack size from the contained blobs
104104
#[must_use]
105-
pub(crate) fn pack_size(&self) -> u32 {
105+
pub fn pack_size(&self) -> u32 {
106106
self.size
107107
.unwrap_or_else(|| PackHeaderRef::from_index_pack(self).pack_size())
108108
}

0 commit comments

Comments
 (0)