| 1 |
Source: golang-github-hexops-gotextdiff |
| 2 |
Section: golang |
| 3 |
Priority: optional |
| 4 |
Maintainer: Debian Go Packaging Team <[email protected]> |
| 5 |
Uploaders: Anthony Fok <[email protected]> |
| 6 |
Rules-Requires-Root: no |
| 7 |
Build-Depends: debhelper-compat (= 13), |
| 8 |
dh-sequence-golang, |
| 9 |
golang-any |
| 10 |
Testsuite: autopkgtest-pkg-go |
| 11 |
Standards-Version: 4.6.2 |
| 12 |
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-hexops-gotextdiff |
| 13 |
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-hexops-gotextdiff.git |
| 14 |
Homepage: https://github.com/hexops/gotextdiff |
| 15 |
XS-Go-Import-Path: github.com/hexops/gotextdiff |
| 16 |
|
| 17 |
Package: golang-github-hexops-gotextdiff-dev |
| 18 |
Architecture: all |
| 19 |
Multi-Arch: foreign |
| 20 |
Depends: ${misc:Depends} |
| 21 |
Description: Unified text diffing in Go (copy of gopls internal diffing) |
| 22 |
gotextdiff is a copy of the Go text diffing packages that the official Go |
| 23 |
language server gopls uses internally to generate unified diffs. |
| 24 |
. |
| 25 |
If you've previously tried to generate unified text diffs in Go (like |
| 26 |
the ones you see in Git and on GitHub), you may have found |
| 27 |
github.com/sergi/go-diff which is a Go port of Neil Fraser's |
| 28 |
google-diff-match-patch code - however it does not support unified diffs. |
| 29 |
. |
| 30 |
This is arguably one of the best (and most maintained) unified text |
| 31 |
diffing packages in Go as of at least 2020. |
| 32 |
. |
| 33 |
(All credit goes to the Go authors (http://tip.golang.org/AUTHORS), I am |
| 34 |
merely re-publishing their work so others can use it.) |