Inode parsing works!

This commit is contained in:
Caleb Gardner
2025-05-14 05:16:12 -05:00
parent 3684a958a0
commit b0c71c59f8
5 changed files with 64 additions and 48 deletions
+3 -1
View File
@@ -1,10 +1,12 @@
const std = @import("std");
const debug = std.debug;
const squashfs = @import("squashfs.zig");
const print = std.debug.print;
const testFileName = "testing/LinuxPATest.sfs";
test "open test file" {
var reader = try squashfs.newReader(testFileName);
defer reader.close();
defer reader.deinit();
print("{}\n", .{reader.root});
}