patch

package
v0.0.0-...-9852d86 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilePatch

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

type Patch

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

func Parse

func Parse(r io.Reader) (*Patch, error)

func (*Patch) ChangedFiles

func (p *Patch) ChangedFiles() []string

func (*Patch) IsLineTouched

func (p *Patch) IsLineTouched(filename string, ln int) bool

Jump to

Keyboard shortcuts

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