╭─────────────╮ │scroll to top│ ╰─────────────╯ ╭ PatchRev.zig ─────────────────────────────────────────────────╮ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╰───────────────────────────────────────────────────────────────╯
╭────╮ ╭ clone ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╮ │http│ ssh │ │ ╰────╯ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╯
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