moby/builder/remotecontext
Sebastiaan van Stijn c0c146fc82
Remove uses of deprecated go-digest.NewDigestFromHex, go-digest.Digest.Hex
Both of these were deprecated in 55f675811a,
but the format of the GoDoc comments didn't follow the correct format, which
caused them not being picked up by tools as "deprecated".

This patch updates uses in the codebase to use the alternatives.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 0f7c9cd27e)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-09 00:17:18 +01:00
..
git builder/remotecontext/git: allow building on go1.18 2022-10-21 17:44:20 +02:00
urlutil gofmt GoDoc comments with go1.19 2022-07-13 22:42:29 +02:00
archive.go Add canonical import comment 2018-02-05 16:51:57 -05:00
detect.go replace pkg/fileutils Matching funcs with github.com/moby/patternmatcher 2022-10-01 01:09:36 +02:00
detect_test.go builder: fix empty-lines (revive) 2022-09-30 23:59:29 +02:00
filehash.go Add canonical import comment 2018-02-05 16:51:57 -05:00
generate.go Add canonical import comment 2018-02-05 16:51:57 -05:00
git.go builder: make git config isolation opt-in 2022-10-20 16:46:23 -04:00
lazycontext.go LCOW: lazycontext: Use correct lstat, fix archive check 2018-06-27 13:29:21 -07:00
mimetype.go Add canonical import comment 2018-02-05 16:51:57 -05:00
mimetype_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
remote.go gofmt GoDoc comments with go1.19 2022-07-13 22:42:29 +02:00
remote_test.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
tarsum.go Remove uses of deprecated go-digest.NewDigestFromHex, go-digest.Digest.Hex 2022-12-09 00:17:18 +01:00
tarsum.pb.go LCOW: Implemented support for docker cp + build 2017-09-14 12:07:52 -07:00
tarsum.proto Implement incremental file sync using client session 2017-06-22 11:52:35 -07:00
tarsum_test.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
utils_test.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00