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.18.1
Published
Dec 4, 2024
Platform
js/wasm
Imports
20 packages
Last checked
2 minutes ago

Tools for package owners.