ona/src/tar.zig
kayomn c42885bf61
Some checks failed
continuous-integration/drone/push Build is failing
Add stubs for Tar-based file system logic
2022-10-07 21:25:49 +01:00

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;
}
};