╭─────────────╮ │scroll to top│ ╰─────────────╯ ╭ PatchRev.zig ─────────────────────────────────────────────────╮ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╰───────────────────────────────────────────────────────────────╯
╭ find file ─ ─ ─ ─ ─ ─ ─ ─ ─ ─╮ ╭────╮ ╭ clone ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─╮ │ │ │http│ ssh │ │ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─╯ ╰────╯ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─╯
287 _ = arena.reset(.retain_capacity); 288 const id = try evt.readOrderKeyId(DB, cursor); 289 const record = (try readById(DB, hash_kind, haxy_moment, &arena, &id)) orelse continue; 290 var oid: [hash.hexLen(hash_kind)]u8 = undefined; 291 if (record.patch_oid.len != oid.len) return error.InvalidOid; 292 @memcpy(&oid, record.patch_oid); 293 try roots.append(allocator, oid); 294 } 295 296 return try roots.toOwnedSlice(allocator); 297 } 298