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

diff

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrCombinedDiff = errors.New("combined diffs were present and skipped")

Functions

This section is empty.

Types

type Parser

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

Parser wraps sourcegraph/go-diff to iterate file diffs.

func New

func New(r io.Reader) *Parser

func (*Parser) NextFile

func (p *Parser) NextFile() (*core.FilePatch, error)

Jump to

Keyboard shortcuts

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