package converter

import "github.com/moby/buildkit/util/converter"

Index

Functions

func New

New returns converter function according to the specified compression type. If no conversion is needed, this returns nil without error.

func NewWithRewriteTimestamp

func NewWithRewriteTimestamp(ctx context.Context, cs content.Store, desc ocispecs.Descriptor, comp compression.Config, rewriteTimestamp *time.Time, immDiffIDs map[digest.Digest]struct{}) (converter.ConvertFunc, error)

NewWithRewriteTimestamp returns converter function according to the specified compression type and the epoch. If no conversion is needed, this returns nil without error.

Source Files

converter.go

Directories

PathSynopsis
util/converter/tarconverter
Version
v0.14.0-rc2
Published
Jun 6, 2024
Platform
js/wasm
Imports
19 packages
Last checked
33 minutes ago

Tools for package owners.