tbz2

package
v1.5.1 Latest Latest
Warning

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

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

Documentation

Overview

Package tbz2 provides methods for unpacking tar.bz2 files

Index

Constants

This section is empty.

Variables

View Source
var ErrNilReader = fmt.Errorf("Reader can not be nil")

Functions

func Read

func Read(r io.Reader, dir string) error

Read reads compressed data using given reader and unpacks it to the given directory

func Unpack

func Unpack(file, dir string) error

Unpacks file to given directory

Types

This section is empty.

Jump to

Keyboard shortcuts

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