Skip to content

Commit 7301ca1

Browse files
committed
make delta Node private to resolve.rs
1 parent d655ee1 commit 7301ca1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

gix-pack/src/cache/delta/traverse/resolve.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ use crate::{
1515
};
1616

1717
/// An item returned by `iter_root_chunks`, allowing access to the `data` stored alongside nodes in a [`Tree`].
18-
pub(crate) struct Node<'a, T: Send> {
19-
pub item: &'a mut Item<T>,
20-
pub child_items: ItemSliceSend<'a, Item<T>>,
18+
struct Node<'a, T: Send> {
19+
item: &'a mut Item<T>,
20+
child_items: ItemSliceSend<'a, Item<T>>,
2121
}
2222

2323
impl<'a, T: Send> Node<'a, T> {
@@ -225,7 +225,7 @@ where
225225
/// system. Since this thread will take a controlling function, we may spawn one more than that. In threaded mode, we will finish
226226
/// all remaining work.
227227
#[allow(clippy::too_many_arguments)]
228-
pub(crate) fn deltas_mt<T, F, MBFN, E, R>(
228+
fn deltas_mt<T, F, MBFN, E, R>(
229229
mut threads_to_create: isize,
230230
decompressed_bytes_by_pack_offset: BTreeMap<u64, (data::Entry, u64, Vec<u8>)>,
231231
objects: gix_features::progress::StepShared,

0 commit comments

Comments
 (0)