╭─────────────╮ │scroll to top│ ╰─────────────╯ ╭ Notify.zig ───────────────────────────────────────────────────╮ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╰───────────────────────────────────────────────────────────────╯
╭ find file ─ ─ ─ ─ ─ ─ ─ ─ ─ ─╮ ╭────╮ ╭ clone ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─╮ │ │ │http│ ssh │ │ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─╯ ╰────╯ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─╯
101 comptime hash_kind: hash.HashKind, 102 haxy_moment: DB.HashMap(.read_only), 103 arena: *std.heap.ArenaAllocator, 104 repo_id: *const [evt.event_id_size]u8, 105 thread_id: *const [evt.event_id_size]u8, 106 ) !?Mode { 107 const record = (try evt.readRecordSubset(Self, struct { removed: bool, event: struct { mode: Mode } }, DB, hash_kind, haxy_moment, arena, &idOf(repo_id, thread_id))) orelse return null; 108 return if (record.removed) null else record.event.mode; 109 } 110