╭ changed ────╮ │src/serve.zig│ ╰─────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────╮ │11 ssh_listen: []const u8 = "127.0.0.1:8022", │ │12 wui_listen: []const u8 = "127.0.0.1:8000", │ │13 data_dir: []const u8 = ".", │ │14 - // test mode, used by the networking tests. it serves repos directly by │ │15 - // their on-disk path instead of resolving them as <owner>/<repo> through │ │16 - // the event store, giving the plain git-server behavior those tests rely on.│ │17 - is_test: bool = false, │ │14 }; │ │15 │ │16 const ListenAddress = struct { │ ╰─────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │86 try err.print("serving HTTP on {s}, repo root {s}\n", .{ options.http_listen, repo_root_path }); │ │87 try err.flush(); │ │88 │ │93 - serve_http.runListener(repo_kind, any_repo_opts, io, allocator, repo_root_path, admin_repo_path, options.is_test, &http_server, &tasks, err);│ │89 + serve_http.runListener(repo_kind, any_repo_opts, io, allocator, repo_root_path, admin_repo_path, &http_server, &tasks, err); │ │90 │ │91 try err.print("serving SSH on {s}\n", .{options.ssh_listen}); │ │92 try err.flush(); │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ 94 const ssh_session_handler = serve_ssh.SessionHandler{ │ │ 95 .admin_repo_path = admin_repo_path, │ │ 96 .repo_root_path = repo_root_path, │ │101 - .is_test = options.is_test, │ │ 97 .err = err, │ │ 98 }; │ │ 99 serve_ssh.runListener(io, allocator, &host_key, &ssh_session_handler, &ssh_server, &tasks, err);│ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────╯