difflib

package
v0.0.0-...-ad4ad90 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Tag Codes
	OpEqual int8 = iota
	OpInsert
	OpDelete
	OpReplace
)

Variables

This section is empty.

Functions

func FormatRangeUnified

func FormatRangeUnified(start, stop int) string

FormatRangeUnified converts range to the "ed" format.

func NewMatcher

func NewMatcher(a, b []string) *sequenceMatcher

Types

type OpCode

type OpCode struct {
	Tag int8
	I1  int
	I2  int
	J1  int
	J2  int
}

Jump to

Keyboard shortcuts

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