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.16.13
Published
Jan 6, 2022
Platform
js/wasm
Imports
4 packages
Last checked
1 minute ago

Tools for package owners.