╭──────────╮ │← previous│ ╰──────────╯ ╭ changed ────╮ │src/event.zig│ ╰─────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────╮ │680 allocator.destroy(self.db); │ │681 } │ │682 │ │673 - pub fn next(self: *Self) !?[hash.byteLen(repo_opts.hash)]u8 { │ │683 + pub fn next(self: *CommitIterator(repo_opts)) !?[hash.byteLen(repo_opts.hash)]u8 { │ │684 if (self.ready_queue_index >= try self.ready_queue.count()) return null; │ │685 │ │686 const oid = try readOidFromList(self.ready_queue.readOnly(), self.ready_queue_index);│ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────╮ │691 } │ │692 │ │693 fn collect( │ │684 - self: *Self, │ │694 + self: *CommitIterator(repo_opts), │ │695 state: rp.Repo(.xit, repo_opts).State(.read_only),│ │696 io: std.Io, │ │697 allocator: std.mem.Allocator, │ ╰───────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────╮ │688 - haxy_moments: DB.HashMap(.read_only), │ │698 + consumed_object_ids: DB.HashMap(.read_only), │ │699 ref: rf.Ref, │ │700 ) !void { │ │701 const map = try DB.HashMap(.read_write).init(self.db.rootCursor());│ ╰────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │704 const walk_queue = try DB.ArrayList(.read_write).init(walk_queue_cursor); │ │705 var walk_queue_index: u64 = 0; │ │706 │ │697 - const seen_commits_cursor = try map.putCursor(hash.hashInt(repo_opts.hash, "seen-commits")); │ │698 - const seen_commits = try DB.HashSet(.read_write).init(seen_commits_cursor); │ │707 + const seen_object_ids_cursor = try map.putCursor(hash.hashInt(repo_opts.hash, "seen-object-ids")); │ │708 + const seen_object_ids = try DB.HashSet(.read_write).init(seen_object_ids_cursor); │ │709 │ │710 const head_oid_hex = (try rf.readRecur(.xit, repo_opts, state, io, .{ .ref = ref })) orelse return error.OidNotFound;│ │711 var head_oid: [hash.byteLen(repo_opts.hash)]u8 = undefined; │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────╮ │719 walk_queue_index += 1; │ │720 │ │721 // if we've seen this object id, skip it │ │712 - if (null != try seen_commits.getCursor(oid_int)) { │ │722 + if (null != try seen_object_ids.getCursor(oid_int)) {│ │723 continue; │ │724 } │ │725 │ ╰──────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │716 - try seen_commits.put(oid_int, .{ .bytes = &oid }); │ │726 + try seen_object_ids.put(oid_int, .{ .bytes = &oid }); │ │727 │ │728 var commit_object = try obj.Object(.xit, repo_opts, .full).init(state, io, allocator, &std.fmt.bytesToHex(oid, .lower));│ │729 defer commit_object.deinit(); │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────╮ │730 │ │731 // if this object id has already been consumed, skip it │ │722 - if (null != try haxy_moments.getCursor(oid_int)) { │ │732 + if (null != try consumed_object_ids.getCursor(oid_int)) {│ │733 continue; │ │734 } │ │735 │ ╰──────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────╮ │744 const parent_oid_int = hash.bytesToInt(repo_opts.hash, &parent_oid_bytes);│ │745 │ │746 // if this object id has already been consumed, skip it │ │737 - if (null != try haxy_moments.getCursor(parent_oid_int)) { │ │747 + if (null != try consumed_object_ids.getCursor(parent_oid_int)) { │ │748 continue; │ │749 } │ │750 │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────╮ │751 // if this object id hasn't already been seen, add it to the walk queue│ │742 - if (null == try seen_commits.getCursor(parent_oid_int)) { │ │752 + if (null == try seen_object_ids.getCursor(parent_oid_int)) { │ │753 try walk_queue.append(.{ .bytes = &parent_oid_bytes }); │ │754 } │ │755 │ ╰────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │767 } │ │768 } │ │769 │ │760 - fn enqueueChildren(self: *Self, oid: *const [hash.byteLen(repo_opts.hash)]u8) !void { │ │770 + fn enqueueChildren(self: *CommitIterator(repo_opts), oid: *const [hash.byteLen(repo_opts.hash)]u8) !void {│ │771 const oid_int = hash.bytesToInt(repo_opts.hash, oid); │ │772 const children_cursor = try self.parent_to_children.getCursor(oid_int) orelse return; │ │773 const children = try DB.HashSet(.read_only).init(children_cursor); │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯