gotar

package module
v0.0.0-...-41b5431 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2016 License: MIT Imports: 7 Imported by: 0

README

gotar

Library to provide access to pure golang implementations of tar/untar with gzip compression. Should be useful for cross-platform directory packing and unpacking.

Status:

  • Tar (alpha)
  • Untar (alpha)
  • Gzip (alpha)
  • Ungzip (alpha)

This library is currently under development and it's API may change.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Tar

func Tar(opts *TarOpts) error

func Untar

func Untar(opts *UntarOpts) error

Types

type TarOpts

type TarOpts struct {
	InPaths []string
	Gzip    bool
	Verbose bool
	WorkDir string
	Writer  io.Writer
}

type UntarOpts

type UntarOpts struct {
	Gzip    bool
	Reader  io.Reader
	Verbose bool
	WorkDir string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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