github.com/nao1215/diff
Package diff is a partial port of Python difflib module. It provides tools to compare sequences of strings and generate textual diffs. The following class and functions have been ported: - SequenceMatcher - unified_diff - context_diff Getting unified diffs was the main goal of the port. Keep in mind this code is mostly suitable to output text differences in a human friendly way, there are no guarantees generated diffs are consumable by patch(1).
Ecosystem
proxy.golang.org
proxy.golang.org
Latest Release
almost 2 years ago
v0.0.1
almost 2 years ago
Versions
1
1
Loading...
Readme
Loading...
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/nao1215/diff
spec |
| License | BSD-3-Clause |
| Namespace | github.com/nao1215 |
| First Release | almost 2 years ago |
| Last Synced | 9 days ago |
Repository
| Stars | 2 on GitHub |
| Forks | 0 on GitHub |
Rankings on proxy.golang.org
Overall
Top 8.6%