moby/builder/builder-next
Sebastiaan van Stijn 782fe1fe82
layer: ChecksumForGraphID: remove unused code for for migrating v1 layers
The only use is in `builder/builder-next/adapters/snapshot.EnsureLayer()`,
which always calls the function with an _empty_ `oldTarDataPath`;
7082aecd54/builder/builder-next/adapters/snapshot/layer.go (L81)

When called with an empty `oldTarDataPath`, this function was an alias for
`checksumForGraphIDNoTarsplit`, so let's make it that.

Note that this code was added in 500e77bad0, as
part of the migration from "v1" images to "v2" (content-addressable) images.

Given that the remaining code lives in a "migration" file, possibly more code
can be removed.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-01-08 12:28:41 +01:00
..
adapters layer: ChecksumForGraphID: remove unused code for for migrating v1 layers 2024-01-08 12:28:41 +01:00
exporter migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
imagerefchecker remove unneeded "digest" alias for "go-digest" 2022-03-04 14:49:42 +01:00
worker builder-next: fix timing filter for default policy 2023-11-28 22:37:30 -08:00
builder.go vendor: github.com/moby/buildkit v0.12.3-dev 2023-10-13 17:05:56 -07:00
controller.go builder-next: make sure worker platforms normalized for containerd 2023-10-30 23:14:34 -07:00
executor_linux.go daemon/config: change DNSConfig.DNS to a []net.IP 2023-11-13 12:22:51 +01:00
executor_nolinux.go vendor: github.com/moby/buildkit v0.12.2 2023-09-21 14:18:45 -06:00
reqbodyhandler.go builder-next: use constants for http status codes 2019-10-13 19:11:24 +02:00