authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-08-26 17:28:28-07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-08-26 17:28:28-07:00
logca10dac88432ed0145b43d47c27a04ad7e4858c9
tree412286261dccbb3293d7d69ce83520cd1a1be6f2
parente648d8b8bc8d807d0f0d802c20eb5f2280f5e036
signature Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

Dir: no need for these flags structs to be packed


1 files changed, 2 insertions(+), 2 deletions(-)

Dir.zig+2-2
......@@ -54,7 +54,7 @@ pub fn openFileC(self: Dir, sub_path: []const u8, flags: OpenFileFlags) !File {
5454 return openFile(self, buf[0..sub_path.len :0], flags);
5555}
5656
57pub const OpenFileFlags = packed struct {
57pub const OpenFileFlags = struct {
5858 mode: enum(u8) { read_only, write_only, read_write } = .read_only,
5959 lock: enum(u8) { none, shared, exclusive } = .none,
6060};
......@@ -72,7 +72,7 @@ pub fn openDirC(self: Dir, sub_path: []const u8, flags: OpenDirFlags) !Dir {
7272 return openDir(self, buf[0..sub_path.len :0], flags);
7373}
7474
75pub const OpenDirFlags = packed struct {
75pub const OpenDirFlags = struct {
7676 //
7777};
7878