package diff
import "golang.org/x/perf/internal/diff"
Index ¶
Functions ¶
func Diff ¶
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.
Source Files ¶
diff.go
- Version
- v0.0.0-20250214215153-c95ad7d5b636 (latest)
- Published
- Feb 14, 2025
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 2 weeks ago –
Tools for package owners.