tarfs

package module
v0.0.0-...-bf0d15c Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2017 License: MIT Imports: 10 Imported by: 0

README

GoDoc Build Status

tarfs

In-memory http.FileSystem from tar archives.

Why?

If you have multiple assets for your program that you don't want to embed them in your binary but still want an easier way to ship them along your binary, tarfs is your friend.

Usage

See the GoDoc

Contributing

Please consider opening an issue first, or just send a pull request. :)

Credits

See Contributors.

LICENSE

MIT.

TODO
  • Add more tests
SEE ALSO

Documentation

Overview

In memory http.FileSystem from tar archives

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(tarstream io.Reader) (http.FileSystem, error)

New returns an http.FileSystem that holds all the files in the tar, It reads the whole archive from the Reader. It is the caller's responsibility to call Close on the Reader when done.

Types

This section is empty.

Jump to

Keyboard shortcuts

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