ListOp

eg_walker_reference.ListOp
sealed trait ListOp[T]

Operations either insert new content at some position (index), or delete the item at some position.

Note the positions are normal array / string indexes, indexing into what the document looked like when the operation was created (at its parent version).

Operations also have an ID (agent,seq pair) and a list of parent versions. In this implementation, the ID and parents are stored separately - in the causal graph.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class DeleteOp[T]
class InsertOp[T]

Members list

Value members

Abstract fields

val `type`: "ins" | "del"
val pos: Number