Expand description
Patch payload types.
Structs§
- Change
Perm - Permission change payload.
- Create
File - Create file payload.
- Create
Symlink - Symlink creation payload.
- Delete
File - Delete file payload.
- Edit
Text - Text edit payload using content-anchor identity.
- Operation
- A single operation inside a patch.
- Patch
Payload - Patch payload.
- Rename
Path - Rename path payload.
- Replace
Binary - Binary replacement payload.
Enums§
- Operation
Kind - Operation variants.
Constants§
- TEXT_
SPAN_ HASH_ BYTES - Number of bytes in a content-anchored text span hash.
Functions§
- text_
span_ hash - Compute the stable hash used by content-anchored text edit preconditions.
- validate_
text_ anchor_ id - Validate a stable content-anchor identifier.