╭ changed ────╮ │src/event.zig│ ╰─────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────╮ │← previous│ ╰──────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │829 if (pending_parent_count <= 1) { │ │830 _ = try self.child_to_pending_parents.remove(child_oid_int); │ │831 const child_oid = hash.intToBytes(hash.HashInt(repo_opts.hash), child_oid_int); │ │808 - try self.oid_queue.put(self.allocator, child_oid, {}); │ │832 + try self.ready_queue.append(.{ .bytes = &child_oid }); │ │833 } else { │ │834 try self.child_to_pending_parents.put(child_oid_int, .{ .uint = pending_parent_count - 1 });│ │835 } │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │836 } │ │837 } │ │838 + │ │839 + fn readOidFromList(list: DB.ArrayList(.read_only), index: u64) ![hash.byteLen(repo_opts.hash)]u8 {│ │840 + const oid_cursor = try list.getCursor(index) orelse return error.CursorNotFound; │ │841 + var oid: [hash.byteLen(repo_opts.hash)]u8 = undefined; │ │842 + _ = try oid_cursor.readBytes(&oid); │ │843 + return oid; │ │844 + } │ │845 }; │ │846 } │ │847 │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────╯