package
0.0.0-20240310010237-a3f02065c60a
Repository: https://github.com/goki/go-tools.git
Documentation: pkg.go.dev
# Functions
Apply applies a sequence of edits to the src buffer and returns the result.
ApplyBytes is like Apply, but it accepts a byte slice.
Bytes computes the differences between two byte slices.
SortEdits orders a slice of Edits by (start, end) offset.
Strings computes the differences between two strings.
ToUnified applies the edits to content and returns a unified diff.
Unified returns a unified diff of the old and new strings.