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.17.0-rc2
Published
Oct 28, 2024
Platform
js/wasm
Imports
20 packages
Last checked
1 hour ago

Tools for package owners.