types

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2026 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Archive

type Archive map[string]*Entry

func (Archive) AddBasicFile

func (archive Archive) AddBasicFile(path string, content []byte)

func (Archive) Bytes

func (archive Archive) Bytes() ([]byte, error)

func (Archive) Filter

func (archive Archive) Filter(patterns ...string) (Archive, error)

func (Archive) SetDirectory

func (archive Archive) SetDirectory(directory string) (Archive, bool)

type Entry

type Entry struct {
	Header  *tar.Header
	Content []byte
}

Jump to

Keyboard shortcuts

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