ediff

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrDifferentItemCount = errors.New("changed the number of elements after modification")

Functions

This section is empty.

Types

type DiffPair

type DiffPair struct {
	Prev string
	Curr string
}

type Ediff

type Ediff struct {
	// contains filtered or unexported fields
}

func New

func New(editor string) *Ediff

func (*Ediff) AppendItem

func (e *Ediff) AppendItem(item string)

func (*Ediff) AppendItems

func (e *Ediff) AppendItems(items []string)

func (Ediff) Run

func (e Ediff) Run() ([]DiffPair, error)

func (*Ediff) SetEditorArgs

func (e *Ediff) SetEditorArgs(editorArgs []string)

func (*Ediff) SetIgnoreEditorError

func (e *Ediff) SetIgnoreEditorError(ignoreEditorError bool)

Jump to

Keyboard shortcuts

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