30 lines
479 B
Zig
30 lines
479 B
Zig
|
const std = @import("std");
|
||
|
|
||
|
///
|
||
|
///
|
||
|
///
|
||
|
pub const Archive = struct {
|
||
|
allocator: std.mem.Allocator,
|
||
|
|
||
|
pub const LoadError = error {
|
||
|
FileNotFound,
|
||
|
};
|
||
|
|
||
|
///
|
||
|
///
|
||
|
///
|
||
|
pub fn init(allocator: std.mem.Allocator) Archive {
|
||
|
return Archive{
|
||
|
.allocator = allocator,
|
||
|
};
|
||
|
}
|
||
|
|
||
|
///
|
||
|
///
|
||
|
///
|
||
|
pub fn load(archive: *Archive, file_path: []const u8) LoadError!void {
|
||
|
_ = file_path;
|
||
|
_ = archive;
|
||
|
}
|
||
|
};
|