╭ changed ──────╮ │src/ui/Repo.zig│ ╰───────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │236 // repo's directory rather than the route. │ │237 repo = .{ .event = .{ │ │238 .user_id = "", │ │239 - .name = try arena.allocator().dupe(u8, std.fs.path.basename(local.path)), │ │239 + .name = try arena.allocator().dupe(u8, std.Io.Dir.path.basename(local.path)),│ │240 .description = "", │ │241 } }; │ │242 owner_name = ""; │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │468 // the header shows new repo with a login, and new user without one │ │469 // and user only outside local mode, so keep the stack's children │ │470 // 1:1 with the tabs by skipping the same views. │ │471 - const identity = try std.fmt.allocPrint(session.page_arena.allocator(), "{s}:{s}", .{ data.header.owner_name, data.header.name }); │ │471 + const identity = try session.page_arena.allocator().print("{s}:{s}", .{ data.header.owner_name, data.header.name }); │ │472 if (session.data.user_id != null) { │ │473 const route = ui.RoutablePage{ .repo_repo_new = ui.RoutablePage.Array(ui.RoutablePage.repo_route_max_len).from(identity) orelse return error.RouteTooLong };│ │474 var new_repo_view = try ui.NewRepo.View.init(allocator, session, route); │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯