Re-added all C decompressors

Some cleanup
Remove inode arena
Added deinit to Archive to destroy the File.MemoryMap
This commit is contained in:
Caleb Gardner
2026-05-23 06:37:34 -05:00
parent 1dae4d8bb7
commit 5f1089406e
17 changed files with 520 additions and 131 deletions
+3
View File
@@ -31,6 +31,9 @@ pub fn init(io: Io, file: std.Io.File, offset: u64) !Archive {
.stateless_decomp = try Decomp.StatelessDecomp(super.compression),
};
}
pub fn deinit(self: Archive, io: Io) void {
self.file.deinit(io);
}
/// The root folder of the Archive. Used to open other Files.
pub fn root(self: Archive, alloc: std.mem.Allocator, io: Io) !File {