Expand description
session_changes and workspace_status.
Constantsยง
- FLAG_
OVERHEAD ๐ ,"patch_truncated":true- PATCH_
OVERHEAD ๐ ,"patch":plus the quotes and separator around a patch value.- RESERVE ๐
- Bytes kept free under the cap for the markers
finishmay add.
Functionsยง
- cut_
escaped ๐ - The longest prefix of
swhose JSON-escaped form is at mostmaxbytes. - escaped_
len ๐ - meta_of ๐
- pack ๐
- Fit the diff under
maxbytes: patches go first (omitted_patches), then file entries (their names move toomitted_files); one patch too big for the whole budget is cut. - range_
error ๐ - serialized_
len ๐