Documentation
¶
Index ¶
- type Diff
- func (diff *Diff) Compose()
- func (diff *Diff) Editdistance() int
- func (diff *Diff) FprintSes(w io.Writer)
- func (diff *Diff) Lcs() []rune
- func (diff *Diff) LcsString() string
- func (diff *Diff) OnlyEd()
- func (diff *Diff) PrintSes()
- func (diff *Diff) Ses() []SesElem
- func (diff *Diff) SprintSes() string
- type Point
- type PointWithRoute
- type SesElem
- type SesType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Diff ¶
type Diff struct {
// contains filtered or unexported fields
}
Diff is context for calculating difference between a and b
func (*Diff) Editdistance ¶
Editdistance returns edit distance between a and b
func (*Diff) PrintSes ¶
func (diff *Diff) PrintSes()
PrintSes prints shortest edit script between a and b
type Point ¶
type Point struct {
// contains filtered or unexported fields
}
Point is coordinate in edit graph
type PointWithRoute ¶
type PointWithRoute struct {
// contains filtered or unexported fields
}
PointWithRoute is coordinate in edit graph attached route
Click to show internal directories.
Click to hide internal directories.