archiveutil

package
v0.0.0-...-7621e06 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: Apache-2.0 Imports: 7 Imported by: 1

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