diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-19 15:52:33 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-19 15:52:33 -0300 |
| commit | 8fea4ab90a04acd5f20528b00342c23d42f8c83e (patch) | |
| tree | be264d2cd8ba57492e227d9d6a65027f3d7680c9 /core/builtins.zig | |
| parent | 553a62bac675bfc0a64254718488d3c8012f533e (diff) | |
| parent | ee2e79dea10c93c104b70cf1eedccd7ba85003fc (diff) | |
| download | pardes-8fea4ab90a04acd5f20528b00342c23d42f8c83e.tar.gz pardes-8fea4ab90a04acd5f20528b00342c23d42f8c83e.zip | |
integration: the soak on the real session loop and the cli's serve thread joined, with the tape's handle through the kinds, the core's own files and the small ones: pardes-runners-d (10c's last changes) and pardes-handle-2 (the handle's steps 3 to 5 and its two rules as tests), merged without a conflict; gates in the coordinator's ledger
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/builtins.zig')
| -rw-r--r-- | core/builtins.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/builtins.zig b/core/builtins.zig index a79e4b66..7add3d9c 100644 --- a/core/builtins.zig +++ b/core/builtins.zig @@ -494,7 +494,7 @@ pub const Restore = struct { var full_buf: [4096]u8 = undefined; var label_buf: [256]u8 = undefined; const file = if (typed) |t| dump.restoreFile(c.p.tape, t, c.p.settings.dump_dir.get(), &full_buf) else null; - const name = if (file) |path| path else pardes.tape.authority(pardes.Db.labelled, .{ &c.p.db, c.p, typed, @as([]u8, &label_buf) }) orelse { + const name = if (file) |path| path else c.p.tape.authority(pardes.Db.labelled, .{ &c.p.db, c.p, typed, @as([]u8, &label_buf) }) orelse { var buf: pardes.Kind.Buf(320) = .{}; return c.p.reportFailure(c.id, if (typed) |t| buf.print("Restore: no dump labelled {s}", .{t}) else "Restore: no dump yet; name one"); }; @@ -593,7 +593,7 @@ pub const Mount = struct { }; // A mount that cannot be reached is said now, and taken back, not // found out by the first look through it. - const reached = pardes.tape.site(.probe, null, @import("runtime").ninep_io.Client.probeMount, .{ c.p.gpa, dial }); + const reached = c.p.tape.site(.probe, null, @import("runtime").ninep_io.Client.probeMount, .{ c.p.gpa, dial }); reached catch |err| { if (c.p.fs.mounts.pop()) |gone| { c.p.gpa.free(gone.name); @@ -1182,7 +1182,7 @@ pub const Term = struct { if (arg.len > 0) { var why: [320]u8 = undefined; // The authority's lookup, taped, as Shell's (exec.zig). - if (pardes.tape.site(.shell, null, @import("dev").host_io.Shell.refusal, .{ arg[0..@min(arg.len, 200)], &why })) |refused| { + if (c.p.tape.site(.shell, null, @import("dev").host_io.Shell.refusal, .{ arg[0..@min(arg.len, 200)], &why })) |refused| { var said: pardes.Kind.Buf(340) = .{}; return c.p.reportFailure(c.id, said.print("Term: {s}", .{refused})); } |
