perf: golang.org/x/perf/internal/diff Index | Files

package diff

import "golang.org/x/perf/internal/diff"

Index

Package Files

diff.go

func Diff Uses

func Diff(s1, s2 string) string

Diff returns a human-readable description of the differences between s1 and s2. If the "diff" command is available, it returns the output of unified diff on s1 and s2. If the result is non-empty, the strings differ or the diff command failed.

Package diff imports 5 packages (graph). Updated 2017-10-05. Refresh now. Tools for package owners.