mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-16 22:14:30 +00:00
Merge commit 'd292422de' into codex/format-owned-archive
# Conflicts: # crates/format/src/container.rs
This commit is contained in:
@@ -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