╭─────────────╮ │scroll to top│ ╰─────────────╯ ╭ Issue.zig ────────────────────────────────────────────────────╮ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╰───────────────────────────────────────────────────────────────╯
╭────╮ ╭ clone ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╮ │http│ ssh │ │ ╰────╯ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╯
22 if (event_maybe) |event| { 23 const issue_cursor = try event_id_to_issue.putCursor(issue_key); 24 const issue = try DB.HashMap(.read_write).init(issue_cursor); 25 try evt.upsert(@This(), DB, hash_kind, issue, event); 26 } else { 27 if (!try event_id_to_issue.remove(issue_key)) return error.EventNotFound; 28 } 29 } 30