xz

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrDecompressorNotInitialized is returned when the decompressor is not initialized.
	ErrDecompressorNotInitialized = errors.New("decompressor not initialized")
)

Functions

func Decompress

func Decompress(ctx context.Context, r io.Reader) (io.ReadCloser, error)

func UseInternal

func UseInternal()

func UseXZBinary

func UseXZBinary(path string)

Types

type DecompressorFn

type DecompressorFn func(context.Context, io.Reader) (io.ReadCloser, error)

Jump to

Keyboard shortcuts

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