diff --git a/lib/src/chunking.rs b/lib/src/chunking.rs index 69593e5e..eaa22ff8 100644 --- a/lib/src/chunking.rs +++ b/lib/src/chunking.rs @@ -30,7 +30,10 @@ pub(crate) const MAX_CHUNKS: u32 = 64; /// we will just drop down to one. const MIN_CHUNKED_LAYERS: u32 = 4; +/// A convenient alias for a reference-counted, immutable string. type RcStr = Rc; +/// Maps from a checksum to its size and file names (multiple in the case of +/// hard links). pub(crate) type ChunkMapping = BTreeMap)>; // TODO type PackageSet = HashSet;