╭ changed ───╮ │src/test.zig│ ╰────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │244 const listen_arg = std.fmt.comptimePrint("127.0.0.1:{}", .{port}); │ │245 │ │246 self.core.process = try std.process.spawn(self.core.io, .{ │ │247 - .argv = &.{ haxy_path, "serve", "--http-listen", listen_arg, "--project-root", temp_dir_name },│ │247 + .argv = &.{ haxy_path, "serve", "--http-listen", listen_arg, "--data-dir", temp_dir_name }, │ │248 .stdin = .ignore, │ │249 .stdout = .ignore, │ │250 .stderr = .ignore, │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │263 const http_listen_arg = std.fmt.comptimePrint("127.0.0.1:{}", .{port + 2000}); │ │264 │ │265 self.core.serve_process = try std.process.spawn(self.core.io, .{ │ │266 - .argv = &.{ haxy_path, "serve", "--http-listen", http_listen_arg, "--ssh-listen", ssh_listen_arg, "--project-root", temp_dir_name },│ │266 + .argv = &.{ haxy_path, "serve", "--http-listen", http_listen_arg, "--ssh-listen", ssh_listen_arg, "--data-dir", temp_dir_name }, │ │267 .stdin = .ignore, │ │268 .stdout = .ignore, │ │269 .stderr = .ignore, │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │384 const cwd_path = try std.process.currentPathAlloc(io, allocator); │ │385 defer allocator.free(cwd_path); │ │386 │ │387 - const server_path = try std.fs.path.join(allocator, &.{ cwd_path, temp_dir_name, "server" }); │ │387 + const server_path = try std.fs.path.join(allocator, &.{ cwd_path, temp_dir_name, "repos", "server" }); │ │388 defer allocator.free(server_path); │ │389 │ │390 var server_repo = try rp.Repo(.xit, .{ .is_test = true }).init(io, allocator, .{ .path = server_path });│ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │550 const cwd_path = try std.process.currentPathAlloc(io, allocator); │ │551 defer allocator.free(cwd_path); │ │552 │ │553 - const server_path = try std.fs.path.join(allocator, &.{ cwd_path, temp_dir_name, "server" }); │ │553 + const server_path = try std.fs.path.join(allocator, &.{ cwd_path, temp_dir_name, "repos", "server" }); │ │554 defer allocator.free(server_path); │ │555 │ │556 var server_repo = try rp.Repo(.xit, .{ .is_test = true }).init(io, allocator, .{ .path = server_path });│ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │829 const cwd_path = try std.process.currentPathAlloc(io, allocator); │ │830 defer allocator.free(cwd_path); │ │831 │ │832 - const server_path = try std.fs.path.join(allocator, &.{ cwd_path, temp_dir_name, "server" }); │ │832 + const server_path = try std.fs.path.join(allocator, &.{ cwd_path, temp_dir_name, "repos", "server" });│ │833 defer allocator.free(server_path); │ │834 │ │835 const client_path = try std.fs.path.join(allocator, &.{ cwd_path, temp_dir_name, "client" }); │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │939 const temp_path = try std.fs.path.join(allocator, &.{ cwd_path, temp_dir_name }); │ │940 defer allocator.free(temp_path); │ │941 │ │942 - const server_path = try std.fs.path.join(allocator, &.{ cwd_path, temp_dir_name, "server" }); │ │942 + const server_path = try std.fs.path.join(allocator, &.{ cwd_path, temp_dir_name, "repos", "server" });│ │943 defer allocator.free(server_path); │ │944 │ │945 // init server repo with default branch name as main │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1241 const cwd_path = try std.process.currentPathAlloc(io, allocator); │ │1242 defer allocator.free(cwd_path); │ │1243 │ │1244 - const server_path = try std.fs.path.join(allocator, &.{ cwd_path, temp_dir_name, "server" }); │ │1244 + const server_path = try std.fs.path.join(allocator, &.{ cwd_path, temp_dir_name, "repos", "server" }); │ │1245 defer allocator.free(server_path); │ │1246 │ │1247 var server_repo = try rp.Repo(.xit, .{ .is_test = true }).init(io, allocator, .{ .path = server_path });│ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1439 const cwd_path = try std.process.currentPathAlloc(io, allocator); │ │1440 defer allocator.free(cwd_path); │ │1441 │ │1442 - const server_path = try std.fs.path.join(allocator, &.{ cwd_path, temp_dir_name, "server" }); │ │1442 + const server_path = try std.fs.path.join(allocator, &.{ cwd_path, temp_dir_name, "repos", "server" }); │ │1443 defer allocator.free(server_path); │ │1444 │ │1445 var server_repo = try rp.Repo(.xit, .{ .is_test = true }).init(io, allocator, .{ .path = server_path });│ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1603 const oid_master = (try server_repo.readRef(io, .{ .kind = .head, .name = "master" })).?;│ │1604 try std.testing.expectEqualStrings(&commit2, &oid_master); │ │1605 │ │1606 - const hello_txt = try temp_dir.openFile(io, "server/hello.txt", .{}); │ │1606 + const hello_txt = try temp_dir.openFile(io, "repos/server/hello.txt", .{}); │ │1607 defer hello_txt.close(io); │ │1608 } │ │1609 } │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────╯