tarconverter

package
v0.13.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReader

func NewReader(srcContent io.Reader, headerConverter HeaderConverter) io.ReadCloser

NewReader returns a reader that applies headerConverter. srcContent is drained until hitting EOF. Forked from https://github.com/moby/moby/blob/v24.0.6/pkg/archive/copy.go#L308-L373 .

Types

type HeaderConverter

type HeaderConverter func(*tar.Header)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL