diff --git a/crates/format/src/container.rs b/crates/format/src/container.rs index 5c4f8b12f..9920f8431 100644 --- a/crates/format/src/container.rs +++ b/crates/format/src/container.rs @@ -95,6 +95,9 @@ pub struct Writer { tracked: Option, } +/// A tracking closure and the part digests collected so far. +type TrackedParts = (fn(&str) -> bool, Vec); + impl Writer { pub fn new(limits: Limits) -> Writer { Writer { zip: craft_zip::Writer::new(), names: BTreeSet::new(), expanded: 0, resolved: 0, limits, tracked: None }