conflict

package
v0.40.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValueFromConflictSchema

func ValueFromConflictSchema(ctx context.Context, vrw types.ValueReadWriter, cs ConflictSchema) (types.Value, error)

Types

type Conflict

type Conflict struct {
	Base       types.Value
	Value      types.Value
	MergeValue types.Value
}

func ConflictFromTuple

func ConflictFromTuple(tpl types.Tuple) (Conflict, error)

func NewConflict

func NewConflict(base, value, mergeValue types.Value) Conflict

func (Conflict) ToNomsList

func (c Conflict) ToNomsList(vrw types.ValueReadWriter) (types.Tuple, error)

type ConflictSchema

type ConflictSchema struct {
	Base        schema.Schema
	Schema      schema.Schema
	MergeSchema schema.Schema
}

func ConflictSchemaFromValue

func ConflictSchemaFromValue(ctx context.Context, vrw types.ValueReadWriter, v types.Value) (cs ConflictSchema, err error)

func NewConflictSchema

func NewConflictSchema(base, sch, mergeSch schema.Schema) ConflictSchema

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL