╭ changed ─────────╮ │src/event/Repo.zig│ ╰──────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────╮ │ 7 name: []const u8, │ │ 8 enable_issue: bool, │ │ 9 │ │10 -pub fn read( │ │11 - comptime DB: type, │ │12 - comptime hash_kind: hash.HashKind, │ │13 - arena: *std.heap.ArenaAllocator, │ │14 - map: DB.HashMap(.read_only), │ │15 -) !@This() { │ │16 - return .{ │ │17 - .user_id = try evt.readBytes(DB, hash_kind, arena.allocator(), map, "user_id"),│ │18 - .name = try evt.readBytes(DB, hash_kind, arena.allocator(), map, "name"), │ │19 - .enable_issue = try evt.readBool(DB, hash_kind, map, "enable_issue"), │ │20 - }; │ │21 -} │ │22 - │ ╰───────────────────────────────────────────────────────────────────────────────────────────╯