╭ changed ─────────────╮ │src/ui/Repo/Events.zig│ ╰──────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │158 index: u64, │ │159 ) !evt.EventDB(repo_opts.hash).HashMap(.read_only) { │ │160 if (repo_kind == .git) return error.NotFound; │ │161 - const DB = evt.EventDB(repo_opts.hash); │ │162 - const history = try DB.ArrayList(.read_only).init(repo.core.db.rootCursor().readOnly()); │ │163 - const cursor = try history.getCursor(index) orelse return error.NotFound; │ │164 - return try evt.currentMomentFromRepoMoment(repo_opts.hash, try DB.HashMap(.read_only).init(cursor));│ │161 + return try evt.currentMomentFromRepoMoment(repo_opts.hash, try repo.core.momentAt(index)); │ │162 } │ │163 │ │164 // the moment's set is keyed on the event order, not the update order the │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────╯