╭─────────────╮ │scroll to top│ ╰─────────────╯ ╭ event.zig ────────────────────────────────────────────────────╮ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╰───────────────────────────────────────────────────────────────╯
╭ find file ─ ─ ─ ─ ─ ─ ─ ─ ─ ─╮ ╭────╮ ╭ clone ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╮ │ │ │http│ ssh │ │ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─╯ ╰────╯ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╯
3095 _ = try self.child_to_pending_parents.remove(child_oid_int); 3096 const child_oid = hash.intToBytes(hash.HashInt(repo_opts.hash), child_oid_int); 3097 try self.ready_queue.append(.{ .bytes = &child_oid }); 3098 } else { 3099 try self.child_to_pending_parents.put(child_oid_int, .{ .uint = pending_parent_count - 1 }); 3100 } 3101 } 3102 } 3103 3104 fn readOidFromList(list: TempDB.ArrayList(.read_only), index: u64) ![hash.byteLen(repo_opts.hash)]u8 { 3105 const oid_cursor = try list.getCursor(index) orelse return error.CursorNotFound; 3106 var oid: [hash.byteLen(repo_opts.hash)]u8 = undefined; 3107 _ = try oid_cursor.readBytes(&oid); 3108 return oid; 3109 } 3110 }; 3111 } 3112