diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-30 21:19:57 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:17 -0300 |
| commit | 137dc2ea4be0fc5baf4cab1d8a757ce426e5cbb2 (patch) | |
| tree | b4dba1252b54a135c5afe972bf4193f31219703a /docs/fs.md | |
| parent | f02c10bfa6d02d305ddb6d7a28b12c40035274c7 (diff) | |
| download | pardes-137dc2ea4be0fc5baf4cab1d8a757ce426e5cbb2.tar.gz pardes-137dc2ea4be0fc5baf4cab1d8a757ce426e5cbb2.zip | |
Views generated by each read stat 0, as acme's do: data, xdata, index, layout, recent and listeners; fs.md says which files have real lengths
A stat of index, layout, recent or listeners built the whole view to
count it, and data and xdata reported the body's length though a read
answers what addr selects. Those now stat 0, as screen and pane/new
already did, and fs.md lists the files whose length is real and says to
read the rest to the end.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'docs/fs.md')
| -rw-r--r-- | docs/fs.md | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -194,8 +194,14 @@ reads at once; the next is refused `too many reads waiting: 128`. A mount keeps answering everything else beside them. Through a FUSE mount bash's `read -t` cannot time out: wrap the loop in `timeout N`. -**Stats.** Lengths are real (for `event` and `pty/data` the next record's, -zero when none waits; for `log` what an open would freeze). The qid +**Stats.** A file whose text is kept has its real length: a pane's +`body`, `tag`, `name`, `ctl`, `sel` and the range and flag files, the +workspace's `tag`, the root `ctl`, `status`, `commands`, `README`, the +`look`/`exec` answers, `focus`; `event` and `pty/data` the next record's, +zero when none waits; `log` what an open would freeze. A view generated by +each read stats 0, as acme's do: `screen`, `data`, `xdata`, `index`, +`layout`, `recent`, `listeners`, `pane/new`. Read those to the end rather +than trust a length (`cat` does). The qid version of `body`, `data` and `xdata` is the pane's revision, so a stat sees an edit land. Modes are 0644/0666, 0444 read-only, 0222 write-only. |
