targz

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2026 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadFile

func ReadFile(r io.Reader, f func(*tar.Header, io.Reader) error) error

ReadFile calls f for each entry in the tarball.

Types

type Reader

type Reader struct {
	// contains filtered or unexported fields
}

func New

func New(r io.Reader) (*Reader, error)

func (Reader) Close

func (r Reader) Close() error

func (Reader) Next

func (r Reader) Next() (*tar.Header, error)

func (Reader) Read

func (r Reader) Read(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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