╭─────────────╮ │scroll to top│ ╰─────────────╯ ╭ Comment.zig ──────────────────────────────────────────────────╮ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╰───────────────────────────────────────────────────────────────╯
╭────╮ ╭ clone ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╮ │http│ ssh │ │ ╰────╯ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╯
181 arena: *std.heap.ArenaAllocator, 182 comment_id: []const u8, 183 ) !?Record { 184 const records_cursor = try haxy_moment.getCursor(hash.hashInt(hash_kind, record_map_key)) orelse return null; 185 const records = try DB.HashMap(.read_only).init(records_cursor); 186 const record_cursor = try records.getCursor(hash.hashInt(hash_kind, comment_id)) orelse return null; 187 const record_map = try DB.HashMap(.read_only).init(record_cursor); 188 return try evt.read(Record, DB, hash_kind, arena, record_map); 189 } 190