diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-30 17:35:15 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:17 -0300 |
| commit | daf833bccf5aca958593738ecc59fd58dbb697b6 (patch) | |
| tree | 1e149640bbfa66886f3acb6d20f0720a4e6d1266 /docs/fs.md | |
| parent | 39149c051a79e7d5148522b9851768a8e5b2ab54 (diff) | |
| download | pardes-daf833bccf5aca958593738ecc59fd58dbb697b6.tar.gz pardes-daf833bccf5aca958593738ecc59fd58dbb697b6.zip | |
name refuses a directory, EISDIR, when written, not at the Save that could only fail
`name ~`, `name /` or `name foo/` renamed the pane to a directory, and
only its Save failed later. A name ending in `/`, the root, or one naming
a directory that is there is now refused at once, with words a mount
reads as EISDIR (`name: <path> is a directory, not a file`). The ctl word
name and a forwarded `pardes ~` go through the same check. fs.md says so.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'docs/fs.md')
| -rw-r--r-- | docs/fs.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -397,7 +397,8 @@ buffer (relative to the pane's directory) and marks nothing dirty; `Save` then writes under the new name. A name is one line; refused (EINVAL) are a second line, a blank at either end, control bytes and non-UTF-8 (`bad character in file name: a blank at its start`, ...). Up to 255 bytes a -component. +component. A directory (`/`, `~`, `foo/`) is no file name: refused, EISDIR +(`name: /home/u is a directory, not a file`). **`body`** reads the text; a write appends; `>` (OTRUNC) replaces it all. A terminal's body is its history as plain text in logical lines (wrapped |
