Fixes for threaded extraction.

Archive.extract now uses threaded extraction
This commit is contained in:
Caleb J. Gardner
2026-02-09 13:45:38 -06:00
parent 5ec12b5786
commit 6adc1d5c0c
2 changed files with 13 additions and 9 deletions
+1 -1
View File
@@ -162,5 +162,5 @@ pub fn extract(self: *Archive, path: []const u8, options: ExtractionOptions) !vo
var meta: MetadataReader = .init(self.allocator(), &rdr.interface, self.decomp);
try meta.interface.discardAll(self.super.root_ref.block_offset);
const in: Inode = try .read(self.allocator(), &meta.interface, self.super.block_size);
try in.extractTo(self, ext_path, options);
try in.extractToThreaded(self, ext_path, options, self.thread_count);
}