Commit 72d8875
committed
estargz: deprecate errorutil in favor of native errors.Join
Commit cf6d7a0 introduced this package
as a replacement for `github.com/hashicorp/go-multierror`. Now that
Go stdlib provides native support for multi-errors through errors.Join,
we can deprecated the utility, and use stdlib errors instead. Using
errors.Join will produce a slightly different formatting, but should
still capture the same information.
There do not appear to be external consumers of this package, other than
through vendoring, so we could decide to remove the package entirely;
https://grep.app/search?f.lang=Go&q=estargz%2Ferrorutil
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>1 parent 3070538 commit 72d8875
4 files changed
+6
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
| |||
656 | 655 | | |
657 | 656 | | |
658 | 657 | | |
659 | | - | |
| 658 | + | |
660 | 659 | | |
661 | 660 | | |
662 | 661 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
| |||
164 | 163 | | |
165 | 164 | | |
166 | 165 | | |
167 | | - | |
| 166 | + | |
168 | 167 | | |
169 | 168 | | |
170 | 169 | | |
| |||
192 | 191 | | |
193 | 192 | | |
194 | 193 | | |
195 | | - | |
| 194 | + | |
196 | 195 | | |
197 | 196 | | |
198 | 197 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
| |||
1650 | 1649 | | |
1651 | 1650 | | |
1652 | 1651 | | |
1653 | | - | |
| 1652 | + | |
1654 | 1653 | | |
1655 | 1654 | | |
1656 | 1655 | | |
| |||
0 commit comments