diff options
Diffstat (limited to 'src/fs.zig')
| -rw-r--r-- | src/fs.zig | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -18,8 +18,8 @@ const Req = tree.Req; const Reply = tree.Reply; const E = tree.E; -/// The served README; tree.zig answers it. -/// The tree's README; a build that embeds no sources lists no src/. +/// The tree's README, which tree.zig answers; a build that embeds no +/// sources lists no src/. pub const help = help: { const raw = @embedFile("fs-help.txt"); if (limits.embedded_sources) break :help raw; @@ -1353,11 +1353,8 @@ pub const Namespace = struct { refused: bool = false, failure: [256]u8 = undefined, failure_len: u16 = 0, - /// What went wrong performing a write's effects after it was answered - /// by the core (a save the host could not do): the 9P write, which - /// waits for them, fails with it (src/9p_io.zig). /// A header tag truncated by an open not yet released (ninep/cols.zig): - /// 0 the workspace's, a column's its index + 1; and whether the newline + /// 0 the workspace's, a column's its serial; and whether the newline /// that ended its last write is held back. header_rewrite: ?u32 = null, /// A column's or the workspace's tag truncated, not yet done (as a @@ -1374,6 +1371,9 @@ pub const Namespace = struct { said: [256]u8 = undefined, said_len: u16 = 0, said_at: u32 = 0, + /// What went wrong performing a write's effects after it was answered + /// by the core (a save the host could not do): the 9P write, which + /// waits for them, fails with it (src/9p_io.zig). late_failure: [256]u8 = undefined, late_failure_len: u16 = 0, /// A 9P write asked a language server something: the answer count it @@ -1402,10 +1402,6 @@ pub const Namespace = struct { /// The whole text of the newest counted log record, hashed: its record /// may be cut, and a repeat is only the same whole text again. log_full_hash: u64 = 0, - /// Writes one open made in a row into one place of a pane's body (an - /// append to `body`, an insert at `data`'s address), held and put in - /// as one edit when anything else comes (ninep/pane.zig flushBatch): a - /// 10 MB write in 8 KB pieces is one copy and one undo step, not 1280. /// The text of /pager opens closed before a read put it in, each with /// its +Pager's serial, for the editor's step to put in (ctl.fillPager): /// a close through a mount may not wait for the editor to be quiet, @@ -1416,6 +1412,10 @@ pub const Namespace = struct { /// (tree.runClosedLines): a close is answered at once, for the same /// reason as `pages`. closed_lines: std.ArrayList(struct { node: u64, bytes: std.ArrayList(u8) }) = .empty, + /// Writes one open made in a row into one place of a pane's body (an + /// append to `body`, an insert at `data`'s address), held and put in + /// as one edit when anything else comes (ninep/pane.zig flushBatch): a + /// 10 MB write in 8 KB pieces is one copy and one undo step, not 1280. batch: struct { serial: u32 = 0, node: u64 = 0, |
