tarfs

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2025 License: EUPL-1.2 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TarFS

type TarFS struct {
	// contains filtered or unexported fields
}

TarFS is a http.FileSystem that serves files from a tar archive.

func New

func New(data []byte) (*TarFS, error)

New creates a new TarFS from a tar archive.

func (*TarFS) Open

func (fs *TarFS) Open(name string) (http.File, error)

Open opens a file from the tar archive.

Jump to

Keyboard shortcuts

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