╭─────────────╮ │scroll to top│ ╰─────────────╯ ╭ event.zig ────────────────────────────────────────────────────╮ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╰───────────────────────────────────────────────────────────────╯
╭────╮ ╭ clone ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╮ │http│ ssh │ │ ╰────╯ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╯
1253 try self.ready_queue.append(.{ .bytes = &child_oid }); 1254 } else { 1255 try self.child_to_pending_parents.put(child_oid_int, .{ .uint = pending_parent_count - 1 }); 1256 } 1257 } 1258 } 1259 1260 fn readOidFromList(list: DB.ArrayList(.read_only), index: u64) ![hash.byteLen(repo_opts.hash)]u8 { 1261 const oid_cursor = try list.getCursor(index) orelse return error.CursorNotFound; 1262 var oid: [hash.byteLen(repo_opts.hash)]u8 = undefined; 1263 _ = try oid_cursor.readBytes(&oid); 1264 return oid; 1265 } 1266 }; 1267 } 1268