diff

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2019 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 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 added in v1.0.2

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