moby/image/cache
Paweł Gronowski e8496b1ee4
imageService: Extract common code from MakeImageCache
Both containerd and graphdriver image service use the same code to
create the cache - they only supply their own `cacheAdaptor` struct.

Extract the shared code to `cache.New`.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-03-07 15:39:42 +01:00
..
cache.go imageService: Extract common code from MakeImageCache 2024-03-07 15:39:42 +01:00
compare.go c8d/cache: Use the same cache logic as graphdrivers 2024-03-07 14:58:06 +01:00
compare_test.go image/cache: Use Platform from ocispec 2024-02-06 14:26:51 +01:00