╭ changed ────────────╮ │src/ui/Repo/Files.zig│ ╰─────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────╮ │← previous│ ╰──────────╯ ╭────────────────────────────────────────────────╮ │227 } │ │228 │ │229 return .{ │ │230 - .location = try location.dupe(aa), │ │230 + .handle = try handle.dupe(aa), │ │231 .ref_or_oid = resolved.ref_or_oid, │ │232 .ref_or_oid_value = resolved.value,│ │233 .dir = try aa.dupe(u8, dir), │ ╰────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │319 } │ │320 │ │321 // an empty listing pinned to a ref, for the wasm / no-repo / unresolved paths. │ │322 -pub fn emptyResult(aa: std.mem.Allocator, location: ui.RoutablePage.RepoLocation, ref_or_oid: ui.RoutablePage.RefOrOid, ref_or_oid_value: []const u8, dir: []const u8) !Self {│ │322 +pub fn emptyResult(aa: std.mem.Allocator, handle: ui.RepoHandle, ref_or_oid: ui.RoutablePage.RefOrOid, ref_or_oid_value: []const u8, dir: []const u8) !Self { │ │323 return .{ │ │324 - .location = try location.dupe(aa), │ │324 + .handle = try handle.dupe(aa), │ │325 .ref_or_oid = ref_or_oid, │ │326 .ref_or_oid_value = try aa.dupe(u8, ref_or_oid_value), │ │327 .dir = try aa.dupe(u8, dir), │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │358 │ │359 // the search box and the clone url at the top. local mode has neither. │ │360 if (session.data.host_kind == .server) { │ │361 - var header_view = try ui.widget.SearchHeader.init(allocator, session, data.location, " find file ", "find", data.find, data.find_available); │ │361 + var header_view = try ui.widget.SearchHeader.init(allocator, session, data.handle, " find file ", "find", data.find, data.find_available); │ │362 errdefer header_view.deinit(allocator); │ │363 // a row taller than the header, leaving a blank line beneath it │ │364 try outer.children.put(allocator, header_view.getFocus().id, .{ .widget = .{ .search_header = header_view }, .rect = null, .min_size = .{ .width = null, .height = 4 } });│ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯