write_file improvements

This commit is contained in:
Luxferre
2026-09-09 09:51:08 +03:00
parent e6472a77b7
commit 208d874cce
4 changed files with 144 additions and 5 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ When enabled, the interactive console uses a subtle ANSI palette: the pending-re
- Parameters:
- `path` (string, required): JSON-escaped file path to write to (must be created unless existing).
- `offset` (integer, optional, default 0): byte offset to start writing from.
- `offset` (integer, optional, default 0): byte offset to start writing from (defaults to 0, start of file; does not append).
- `del_bytes` (integer, optional, default 0): bytes to delete starting from the `offset` prior to writing.
- `content` (string, required, may be empty): JSON-escaped content to write to the file.
- Return value: string