summaryrefslogtreecommitdiff
path: root/test/replicas.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/replicas.zig')
-rw-r--r--test/replicas.zig12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/replicas.zig b/test/replicas.zig
index 07557924..a122ac9f 100644
--- a/test/replicas.zig
+++ b/test/replicas.zig
@@ -1,5 +1,5 @@
//! pardes-replicas: a session and its clients in one process
-//! (src/replica.zig), each a process of its own for what a process holds
+//! (core/replica.zig), each a process of its own for what a process holds
//! (`Proc`): the session's own frontend typing in its view and drawing it,
//! and each client (a terminal's loop or a window's, by turns) joined from
//! the session's dump for a view of its own, typing at once over its own
@@ -10,7 +10,7 @@
//! and joins again for its view, and those past the views a session has
//! are refused until one is let go.
//!
-//! Terminals cross as screen state (src/term/screen_state.zig): the session's
+//! Terminals cross as screen state (core/term/screen_state.zig): the session's
//! shell pane runs a full-screen program and then a `yes` flood (`--flood`
//! MB of it) while the clients type, its output stepped by the authority
//! and sent to each replica as deltas, once a frame and before any input
@@ -22,7 +22,7 @@
//! zig build replicas -Dplatform=tui -Doptimize=ReleaseFast -- --screen-state <dir>
//!
//! `--echo` types a corpus into a shell instead, with and without the
-//! predicted echo (src/term/echo.zig), and gates what it draws: below, at
+//! predicted echo (core/term/echo.zig), and gates what it draws: below, at
//! "predicted echo". `--screen-state` runs recorded pty streams through
//! screen_state's soak and measures its encoder: below, at screenState.
//!
@@ -1280,7 +1280,7 @@ fn run(r: Run, dir: []const u8, totals: *Totals) !void {
}
}
// ...and every file's text the authority's, byte for byte: a digest
- // takes a text of 4 KiB and up by its length (src/walk.zig).
+ // takes a text of 4 KiB and up by its length (core/walk.zig).
for (a.core.panes, 0..) |slot, pid| {
const f = (slot orelse continue).file orelse continue;
const mine = if (rp.core().panes[pid]) |pane| pane.file else null;
@@ -1380,7 +1380,7 @@ fn diffCase(dir: []const u8) !bool {
return ok;
}
-/// Looks the plumber takes (src/plumbing), each as the authority's input
+/// Looks the plumber takes (core/plumbing), each as the authority's input
/// and as a replica's own: a URL (its web port: no disk asked, so a
/// replica's own look speculates whole and is confirmed with no rollback),
/// and a commit hash in a git work tree (Diff's `git show`, its `.git`
@@ -1557,7 +1557,7 @@ fn sendUnit(q: *std.PriorityQueue(Msg, void, Msg.order), n: *u64, unit: []const
// plain echo, no marks). Each key's echo comes back 2 ms after the authority
// writes it, as a shell's. The client types at a typist's pace and in bursts;
// each of its frames (60 Hz, a phase of its own) is what its screen shows:
-// the predicted echo where it is drawn (src/term/echo.zig), the screen state
+// the predicted echo where it is drawn (core/term/echo.zig), the screen state
// under it. Per key the shell echoed at a prompt or in cat: the time from
// the key to its character on that screen, with prediction and without. Per
// key predicted: whether the authority's screen, right after its echo,