tarfs

package module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2021 License: MIT Imports: 10 Imported by: 1

README

GoDoc Go CodeQL

tarfs

In-memory http.FileSystem from tar archives.

Usage
LICENSE

MIT.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFromFile

func NewFromFile(tarFile string) (http.FileSystem, error)

NewFromFile returns an http.FileSystem that holds all the files in the tar, created from tar file

func NewFromReader

func NewFromReader(reader io.Reader) (http.FileSystem, error)

NewFromReader returns an http.FileSystem that holds all the files in the tar, created from io.Reader

Types

This section is empty.

Directories

Path Synopsis
examples
gin Module

Jump to

Keyboard shortcuts

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