Help us shape the future of Go! Take the 2026 Go Developer Survey

ediff

package
v0.0.2 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("change 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