diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-20 00:59:34 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-09-20 00:59:34 -0300 |
| commit | 43635f16f34694de7c85bf30f5de3c5cf8ce68c2 (patch) | |
| tree | 3c19599045e65947535365f51bfa5339aaa4568f /src/9p_io.zig | |
| parent | a5088819d57c7767d90ae11e974ef6dc8e70b0e4 (diff) | |
| download | pardes-43635f16f34694de7c85bf30f5de3c5cf8ce68c2.tar.gz pardes-43635f16f34694de7c85bf30f5de3c5cf8ce68c2.zip | |
Use cloud9's file-server engine instead of the private copy
src/9p.zig shrinks to an 88-line alias: the engine and the backend contract
(Req, Reply/ReplyWith, Op, Status, Attr, E, error strings) now come from
cloud9.fs. The editor's limits become cloud9.fs.Options values; the ESP32-P4
board backend drops its own copies of the contract types. No behaviour
change; fs-bench still allocates nothing per request. cloud9 re-pinned to
the commit that carries the engine.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Diffstat (limited to 'src/9p_io.zig')
| -rw-r--r-- | src/9p_io.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/9p_io.zig b/src/9p_io.zig index d0db1c86..57ce67b5 100644 --- a/src/9p_io.zig +++ b/src/9p_io.zig @@ -138,7 +138,7 @@ fn localIp(address: std.Io.net.IpAddress) bool { return false; } -const Srv = ninep.Server(pardes.ctlfs, ninep.max_fids); +const Srv = ninep.Server(pardes.ctlfs, ninep.editor); const Conn = struct { fd: c_int = -1, |
