mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-16 23:42:27 +00:00
Merge commit 'd292422de' into codex/format-owned-archive
# Conflicts: # crates/format/src/container.rs
This commit is contained in:
commit
ebc5682aa8
1 file changed
+3
@@ -95,6 +95,9 @@ pub struct Writer {
|
||||
tracked: Option<TrackedParts>,
|
||||
}
|
||||
|
||||
/// A tracking closure and the part digests collected so far.
|
||||
type TrackedParts = (fn(&str) -> bool, Vec<PartDigest>);
|
||||
|
||||
impl Writer {
|
||||
pub fn new(limits: Limits) -> Writer {
|
||||
Writer { zip: craft_zip::Writer::new(), names: BTreeSet::new(), expanded: 0, resolved: 0, limits, tracked: None }
|
||||
|
||||
Reference in new issue
Block a user