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.15.12
Published
May 6, 2021
Platform
darwin/amd64
Imports
4 packages
Last checked
1 minute ago

Tools for package owners.