Index | Files

package ops

import ""


Package Files

ops.go reader.go

func DecodeTransformOp Uses

func DecodeTransformOp(d []byte) op.TransformOp

type EncodedOp Uses

type EncodedOp struct {
    Key  Key
    Data []byte
    Refs []interface{}

EncodedOp represents an encoded op returned by Reader.

type Key Uses

type Key struct {
    // contains filtered or unexported fields

Key is a unique key for a given op.

type Reader Uses

type Reader struct {
    // contains filtered or unexported fields

Reader parses an ops list.

func (*Reader) Decode Uses

func (r *Reader) Decode() (EncodedOp, bool)

func (*Reader) Reset Uses

func (r *Reader) Reset(ops *op.Ops)

Reset start reading from the op list.

Package ops imports 5 packages (graph) and is imported by 3 packages. Updated 2020-03-28. Refresh now. Tools for package owners.