diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-18 20:52:50 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-18 21:22:58 -0300 |
| commit | a75956bb3443aa8aac778d2ff12c42f5ef99e0e9 (patch) | |
| tree | 17547cbf6606c8bd05be313cd8f835cb85d13e57 /src/fs.zig | |
| parent | 5b33c88476054fffc1044fff0526f7f0b28563cf (diff) | |
| download | pardes-a75956bb3443aa8aac778d2ff12c42f5ef99e0e9.tar.gz pardes-a75956bb3443aa8aac778d2ff12c42f5ef99e0e9.zip | |
runtime: main, daemon, upgrade, crash, addon_test, 9p_io, 9p and macos.zig into runtime/ (the reorganisation's tree, step 2a), skill.txt with main.zig, its one reader: module `runtime` (runtime/root.zig) and the core, each naming the other, a product's root (main.zig, macos.zig) a module of its own over both; the files name across by module (`@import("runtime").daemon`, `@import("core").look`), pardes.zig exporting what they name (ctl, edit_cmd, tracy, selection_pipe, and the frontends until they move); core-test and shell-test run each module's test program, so the same tests run (the ledger: every named test of every suite the base's, tui and gui); nothing else changes: frames byte-identical, the same counts (tui core-test 822/963, the one more an anonymous collector)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'src/fs.zig')
| -rw-r--r-- | src/fs.zig | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -5,7 +5,7 @@ const libc = std.c; const pardes = @import("pardes.zig"); const config = @import("config.zig"); const lsp = @import("lsp/lsp.zig"); -const ninep_io = @import("9p_io.zig"); +const ninep_io = @import("runtime").ninep_io; const panes = @import("panes.zig"); const modal = @import("modal.zig"); const look = @import("look.zig"); @@ -58,11 +58,11 @@ const source_files = [_]Source{ .{ .path = "src/layout.zig", .contents = @embedFile("layout.zig") }, .{ .path = "src/fs.zig", .contents = @embedFile("fs.zig") }, .{ .path = "src/look.zig", .contents = @embedFile("look.zig") }, - .{ .path = "src/9p.zig", .contents = @embedFile("9p.zig") }, - .{ .path = "src/9p_io.zig", .contents = @embedFile("9p_io.zig") }, + .{ .path = "src/9p.zig", .contents = @embedFile("runtime/9p.zig") }, + .{ .path = "src/9p_io.zig", .contents = @embedFile("runtime/9p_io.zig") }, .{ .path = "src/host_io.zig", .contents = @embedFile("host_io.zig") }, .{ .path = "src/config.zig", .contents = @embedFile("config.zig") }, - .{ .path = "src/main.zig", .contents = @embedFile("main.zig") }, + .{ .path = "src/main.zig", .contents = @embedFile("runtime/main.zig") }, .{ .path = "src/builtins.zig", .contents = @embedFile("builtins.zig") }, .{ .path = "src/grammar_manifest.zig", .contents = @embedFile("grammar_manifest.zig") }, .{ .path = "src/CHANGELOG.md", .contents = @embedFile("CHANGELOG.md") }, |
