package
0.0.0-20250208085904-1b1a66c1158a
Repository: https://github.com/breadchris/share.git
Documentation: pkg.go.dev

# Functions

ApplyTransform - Apply a specific transform to some content.
FixOutOfDateTransform - When a transform created for a specific version is later determined to come after one or more other transforms it can be fixed.
FixPrematureTransform - Used by clients to fix incoming and outgoing transforms when local changes have been applied to a document before being routed through the server.
MergeTransforms - Takes two transforms (the next to be sent, and the one that follows) and attempts to merge them into one transform.
NewOTBuffer - Create a buffer of operational transforms for a document set to version 1.
NewOTBufferConfig - Returns a default OTBufferConfig.

# Variables

Errors for the internal Operational Transform model.
Errors for the internal Operational Transform model.
Errors for the internal Operational Transform model.
Errors for the internal Operational Transform model.
Errors for the internal Operational Transform model.

# Structs

OTBuffer - Buffers a growing stack of operational transforms, adjusting any out of date transforms as they are added.
OTBufferConfig - Holds configuration options for a transform model.
OTransform - A representation of a transformation relating to a leaps document.