Skip to main content

Module changes

Module changes 

Source
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 finish may add.

Functionsยง

cut_escaped ๐Ÿ”’
The longest prefix of s whose JSON-escaped form is at most max bytes.
escaped_len ๐Ÿ”’
meta_of ๐Ÿ”’
pack ๐Ÿ”’
Fit the diff under max bytes: patches go first (omitted_patches), then file entries (their names move to omitted_files); one patch too big for the whole budget is cut.
range_error ๐Ÿ”’
serialized_len ๐Ÿ”’