archive

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Match

func Match(patterns []string, value string) (bool, error)

Types

type File

type File struct {
	Path     string
	Size     int64
	Contents []byte
}

func ExtractTarGz

func ExtractTarGz(filename string, options Options) ([]File, error)

type Options

type Options struct {
	StripComponents int
	Include         []string
	Exclude         []string
	MaxFiles        int
	MaxBytes        int64
}

Jump to

Keyboard shortcuts

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