╭ changed ──╮ │src/web.zig│ ╰───────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭────────────────────────────────────────╮ │42 remote: struct { │ │43 admin_repo_path: []const u8,│ │44 session_store: SessionStore,│ │45 - clone_http_port: ?u16, │ │46 - clone_ssh_port: ?u16, │ │45 + git_http_port: ?u16, │ │46 + git_ssh_port: ?u16, │ │47 }, │ │48 local: ui.RepoSource, │ │49 }; │ ╰────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────╮ │247 }, │ │248 } │ │249 │ │250 - const clone_http_port: ?u16, const clone_ssh_port: ?u16 = switch (host) { │ │251 - .remote => |remote| .{ remote.clone_http_port, remote.clone_ssh_port },│ │250 + const git_http_port: ?u16, const git_ssh_port: ?u16 = switch (host) { │ │251 + .remote => |remote| .{ remote.git_http_port, remote.git_ssh_port }, │ │252 .local => .{ null, null }, │ │253 }; │ │254 const html = renderIndexHtml(io, allocator, host, .{ │ ╰────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────╮ │257 .sync_failure = sync_failure, │ │258 .current_page = current_page, │ │259 .is_local = host == .local, │ │260 - .clone_http_port = clone_http_port, │ │261 - .clone_ssh_port = clone_ssh_port, │ │260 + .git_http_port = git_http_port, │ │261 + .git_ssh_port = git_ssh_port, │ │262 }) catch |err| switch (err) { │ │263 error.NotFound => { │ │264 try request.respond("not found", .{│ ╰────────────────────────────────────────────────────────╯