diff

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Diff

type Diff interface {
	FindDiff(path1 string, path2 string) (string, error)
	StringDiff(str1 string, str2 string) string
}

type FileDiff

type FileDiff struct {
	File  file.FileAccess
	Patch diffMatchPatch
}

func (*FileDiff) FindDiff

func (f *FileDiff) FindDiff(path1 string, path2 string) (string, error)

func (*FileDiff) StringDiff

func (f *FileDiff) StringDiff(str1 string, str2 string) string

Jump to

Keyboard shortcuts

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