archiveutil

package
v0.0.0-...-3423c7d Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package archiveutil helps dealing with common archive file formats.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenTar

func OpenTar(rawRd io.Reader) (*tar.Reader, error)

OpenTar opens a `.tar`, `.tar.gz`, or `.tar.bz2` file.

Peeks the first few bytes in the given reader and auto-detects the file format. Returns a tar reader spliced together with a decompressor if necessary.

Types

This section is empty.

Jump to

Keyboard shortcuts

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