package tarlog

import "github.com/containers/storage/pkg/tarlog"

Index

Functions

func NewLogger

func NewLogger(logger func(*tar.Header)) (io.WriteCloser, error)

NewLogger returns a writer that, when a tar archive is written to it, calls `logger` for each file header it encounters in the archive.

Source Files

tarlogger.go

Version
v1.59.0 (latest)
Published
Jul 14, 2025
Platform
linux/amd64
Imports
4 packages
Last checked
2 days ago

Tools for package owners.