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.4
Published
Nov 5, 2020
Platform
js/wasm
Imports
4 packages
Last checked
1 minute ago

Tools for package owners.