summaryrefslogtreecommitdiff
path: root/test/session.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-18 22:03:14 -0300
committerGabriel Schneider <[email protected]>2026-11-18 22:23:51 -0300
commit99f5b10eccd95aa0066ea6fe6bb75f367ab56a47 (patch)
tree813596ea84318a7bae4fd7416ba463de8e3b7107 /test/session.zig
parent92d553123673376adf6126ab90d49a22c5b833d2 (diff)
downloadpardes-99f5b10eccd95aa0066ea6fe6bb75f367ab56a47.tar.gz
pardes-99f5b10eccd95aa0066ea6fe6bb75f367ab56a47.zip
core: src/ becomes core/, pardes.zig its root.zig (the reorganisation's tree, step 2d), and every mention of a src/ path follows: the build's paths, the core's imports of its root, the tests that read the repository's files by path (lspbench's, look.zig's spans over core/look.zig), the comments that cite files, the documents and the manual (the typst corpus reads core/tutor.txt and core/plumbing); left as they were: the /src tree's served names (src/pardes.zig and the rest are the 9P tree's, not the repository's), the CHANGELOG's history, fixtures that are only strings; fs-unit-test runs from the core's root (a module of the core rooted at fs.zig had the runtime's and the devices' `core` be fs.zig); nothing else changes: the ledger (pardes.test.* now root.test.*), frames byte-identical, replicas and process-test the base's
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'test/session.zig')
-rw-r--r--test/session.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/session.zig b/test/session.zig
index cd04ecb8..844ea2fe 100644
--- a/test/session.zig
+++ b/test/session.zig
@@ -51,7 +51,7 @@ pub const Session = struct {
watches: pardes.file_watch.Table = @splat(null),
/// A session showing one file pane holding `text`, keeping what outlives
- /// it in a database in memory (src/Db.zig).
+ /// it in a database in memory (core/Db.zig).
pub fn initFile(gpa: std.mem.Allocator, text: []const u8) !Session {
const p = try Pardes.init(gpa, .{ .tty_only = true, .cols = 80, .rows = 24, .state = .memory });
errdefer p.deinit();
@@ -208,7 +208,7 @@ pub const Session = struct {
/// Every session started from here on records what it consumes as a
/// tape in memory, as PARDES_RECORD has a real one record it
- /// (src/tape.zig); `replayTape` replays it once the session is gone.
+ /// (core/tape.zig); `replayTape` replays it once the session is gone.
pub fn recordTape(gpa: std.mem.Allocator) !void {
const t = try gpa.create(pardes.tape.Tape);
t.* = pardes.tape.memory(gpa);
@@ -270,7 +270,7 @@ pub const Session = struct {
s.tag += 1;
q.tag = s.tag;
const r = pardesOf(s).serveFs(q);
- // As the server does (src/9p_io.zig): a clunk's held lines run then.
+ // As the server does (runtime/9p_io.zig): a clunk's held lines run then.
if (q.op == .release) pardes.ctlfs.runClosedLines(pardesOf(s));
s.drain();
// A Restore asked for is performed once its write is answered (the