╭─────────────╮ │scroll to top│ ╰─────────────╯ ╭ event.zig ────────────────────────────────────────────────────╮ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╰───────────────────────────────────────────────────────────────╯
╭────╮ ╭ clone ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╮ │http│ ssh │ │ ╰────╯ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╯
1621 } 1622 } 1623 } 1624 1625 fn readOidFromList(list: DB.ArrayList(.read_only), index: u64) ![hash.byteLen(repo_opts.hash)]u8 { 1626 const oid_cursor = try list.getCursor(index) orelse return error.CursorNotFound; 1627 var oid: [hash.byteLen(repo_opts.hash)]u8 = undefined; 1628 _ = try oid_cursor.readBytes(&oid); 1629 return oid; 1630 } 1631 }; 1632 } 1633