mirror of
https://github.com/containers/skopeo.git
synced 2025-09-06 01:00:43 +00:00
vendor.conf: pin branches to releases or commits
Most of the dependencies have been copied from libpod's vendor.conf where such a cleanup has been executed recently. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
9
vendor/github.com/pmezard/go-difflib/README.md
generated
vendored
9
vendor/github.com/pmezard/go-difflib/README.md
generated
vendored
@@ -1,7 +1,10 @@
|
||||
go-difflib
|
||||
==========
|
||||
|
||||
[](https://travis-ci.org/pmezard/go-difflib)
|
||||
THIS PACKAGE IS NO LONGER MAINTAINED.
|
||||
|
||||
At this point, I have no longer the time nor the interest to work on go-difflib. I apologize for the inconvenience.
|
||||
|
||||
[](https://godoc.org/github.com/pmezard/go-difflib/difflib)
|
||||
|
||||
Go-difflib is a partial port of python 3 difflib package. Its main goal
|
||||
@@ -26,14 +29,14 @@ Diffs are configured with Unified (or ContextDiff) structures, and can
|
||||
be output to an io.Writer or returned as a string.
|
||||
|
||||
```Go
|
||||
diff := UnifiedDiff{
|
||||
diff := difflib.UnifiedDiff{
|
||||
A: difflib.SplitLines("foo\nbar\n"),
|
||||
B: difflib.SplitLines("foo\nbaz\n"),
|
||||
FromFile: "Original",
|
||||
ToFile: "Current",
|
||||
Context: 3,
|
||||
}
|
||||
text, _ := GetUnifiedDiffString(diff)
|
||||
text, _ := difflib.GetUnifiedDiffString(diff)
|
||||
fmt.Printf(text)
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user