tar

package
v0.0.0-...-a295026 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2024 License: BSD-3-Clause Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadArchive

func ReadArchive(archive io.Reader, cb func(string, io.Reader) error) error

ReadArchive reads a tar archive from the given io.Reader and runs the given callback function for each file in the archive.

func ReadGzipArchive

func ReadGzipArchive(archive io.Reader, cb func(string, io.Reader) error) error

ReadGzipArchive reads a gzipped tar archive from the given io.Reader and runs the given callback function for each file in the archive.

Types

This section is empty.

Jump to

Keyboard shortcuts

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