package diff

import "cmd/internal/diff"

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

Index

Functions

func Diff

func Diff(prefix string, b1, b2 []byte) ([]byte, error)

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

Source Files

diff.go

Version
v1.14.1
Published
Mar 19, 2020
Platform
windows/amd64
Imports
4 packages
Last checked
26 seconds ago

Tools for package owners.