The LogootNode
s in this group. Despite what TypeScript thinks, they key
is not a string. It is a BranchKey. Problem is, TS doesn't support
using symbols to index a type, which will hopefully fixed when
TypeScript PR #26797 lands.
In the mean time, using as
to turn the BranchKey into a string is used as
a hacky workaround.
Returns true if there are multiple branches
The end of the node. Note that technically there is not an atom at this position, so it's fair game to have another node placed at this position.
Returns true if this LNG has length in the local document.
Gets the length of all DATA
nodes.
This is a method to access and (possibly) assign a LogootNode
to the
particular branch. This is a thing because TypeScript does not yet support
using symbols as keys and I don't feel like typing
(key as unknown) as string
a billion times. See
TypeScript PR #26797.
Gets the length of all DATA
nodes on branches
.
The branches to search.
The length of all DATA
nodes
Split this LogootNodeGroup around a position pos
units after the current
start on the lowest level.
The location of where to split this group.
A new LogootNodeGroup. This is spliced into this conflict group, so no cleanup is necessary after this is run.
Generated using TypeDoc
A group of nodes that are all on different branches and have different vector clock values, but share the same Logoot start, end, and length.