╭─────────────╮ │scroll to top│ ╰─────────────╯ ╭ event.zig ────────────────────────────────────────────────────╮ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╰───────────────────────────────────────────────────────────────╯
╭────╮ ╭ clone ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╮ │http│ ssh │ │ ╰────╯ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╯
1583 try self.ready_queue.append(.{ .bytes = &child_oid }); 1584 } else { 1585 try self.child_to_pending_parents.put(child_oid_int, .{ .uint = pending_parent_count - 1 }); 1586 } 1587 } 1588 } 1589 1590 fn readOidFromList(list: DB.ArrayList(.read_only), index: u64) ![hash.byteLen(repo_opts.hash)]u8 { 1591 const oid_cursor = try list.getCursor(index) orelse return error.CursorNotFound; 1592 var oid: [hash.byteLen(repo_opts.hash)]u8 = undefined; 1593 _ = try oid_cursor.readBytes(&oid); 1594 return oid; 1595 } 1596 }; 1597 } 1598