merge

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base

func Base(ctx context.Context, ds ipld.NodeGetter, local, remote cid.Cid) (cid.Cid, error)

Base returns the best common ancestor of local and remote.

func File

func File(ctx context.Context, ds ipld.DAGService, o, a, b cid.Cid) (ipld.Node, error)

File combines the contents of two edited files into the original.

func Tree

func Tree(ctx context.Context, ds ipld.DAGService, o, a, b cid.Cid) (ipld.Node, error)

Tree combines the changes to trees a and b onto the base o.

Types

This section is empty.

Jump to

Keyboard shortcuts

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