extractor

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2016 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package extractor unzips artifacts.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Extractor

type Extractor struct {
	Log        *logging.Logger
	FileSystem *afero.Afero
}

Extractor has a file system from which files are extracted from.

func (*Extractor) Unzip

func (e *Extractor) Unzip(source, destination, manifest string) error

Unzip unzips from source into destination. If there is no manifest provided to this function, it will attempt to read a manifest file within the zip file.

Jump to

Keyboard shortcuts

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