--fs-write SESSION REL BYTES BASESHA|new, streamed like upload:
Write to a temp file in the same directory.
Re-check the target's sha256; if it changed, return {conflict: true}.
Otherwise keep mode and owner and mv atomically. 0-byte files are allowed.
Client:
Unsaved-change tracking and Ctrl+S; Esc and Ctrl+S must not reach xterm.
A clean file reloads automatically when its sha changes.
A dirty file shows a "changed on disk" banner: Reload / Diff / Keep mine.
Warn on unload with unsaved changes.
Estimate ~2.5 days.
_Source: file viewer/editor design review, 2026-10-07._
- `--fs-write SESSION REL BYTES BASESHA|new`, streamed like upload:
1. Write to a temp file in the same directory.
2. Re-check the target's sha256; if it changed, return `{conflict: true}`.
3. Otherwise keep mode and owner and `mv` atomically. 0-byte files are allowed.
- **Client:**
- Unsaved-change tracking and Ctrl+S; Esc and Ctrl+S must not reach xterm.
- A clean file reloads automatically when its sha changes.
- A dirty file shows a "changed on disk" banner: Reload / Diff / Keep mine.
- Warn on unload with unsaved changes.
- Estimate ~2.5 days.
jared
added this to the v0.8.0 editor + inbox milestone 2026-10-07 20:04:30 -04:00
jared
added the feature label 2026-10-07 20:04:30 -04:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Source: file viewer/editor design review, 2026-10-07.
--fs-write SESSION REL BYTES BASESHA|new, streamed like upload:{conflict: true}.mvatomically. 0-byte files are allowed.