rfrsc.io/rf/diff Index | Files

package diff

import "rsc.io/rf/diff"

Package diff implements a Diff function that compare two inputs using the 'diff' tool.

Index

Functions

func Diff

func Diff(oldName string, old []byte, newName string, new []byte) ([]byte, error)

Returns diff of two arrays of bytes in diff tool format.

Source Files

diff.go

Version
v0.0.0-20250314175034-c71790db1500 (latest)
Published
Mar 14, 2025
Platform
linux/amd64
Imports
5 packages
Last checked
3 weeks ago

Tools for package owners.