diff

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Change

type Change struct {
	StartLine int
	EndLine   int
}

type Diff

type Diff map[FileName][]Change

func New

func New() (Diff, error)

func NewWithCmd

func NewWithCmd[T execCmd](cmdContext func(name string, args ...string) T) (Diff, error)

func (Diff) IsChanged

func (d Diff) IsChanged(pos token.Position) bool

type FileName

type FileName string

Jump to

Keyboard shortcuts

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