tarball

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

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

Go to latest
Published: Sep 20, 2020 License: MIT Imports: 5 Imported by: 0

README

tarball GoDoc Build-Status

Simple tar file support

Documentation

Overview

Package tarball creates and reads from tar files

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(w io.Writer, srcs ...string) error

Create creates a tar globbing src

func FileList

func FileList(r io.Reader) ([]string, error)

FileList returns the files in the archive

func ReadAll

func ReadAll(r io.Reader, w io.Writer) error

ReadAll dumps the output of the files Primarily for testing

func ReadFile

func ReadFile(r io.Reader, w io.Writer, filename string) error

ReadFile extracts the file from the tar file

Types

This section is empty.

Jump to

Keyboard shortcuts

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