Repository navigation
Commit daf6f51
committed
docs(redo): qualify the comment on restoring after a failed replace
Review follow-up on #231. The comment in `apply_replace_content` said that
putting the overwritten bytes back "does not need the space or quota the
failed write ran out of". That holds on a filesystem that overwrites in
place. On a copy-on-write filesystem an overwrite can need new space, and
an I/O error can fail any write. The comment now says so and points at the
error reported when the restore fails. Comment only; no behaviour change.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J4QvDiC97Fg2LvDpuFCz951 parent 94be017 commit daf6f51
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1455 | 1455 | | |
1456 | 1456 | | |
1457 | 1457 | | |
1458 | | - | |
1459 | | - | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
1460 | 1464 | | |
1461 | 1465 | | |
1462 | 1466 | | |
| |||
0 commit comments