Discover Packages
github.com/sstabellini/rkt
Godeps
_workspace
src
github.com
appc
docker2aci
lib
internal
tarball
package
Version:
v1.2.1
Opens a new window with list of versions in this module.
Published: Mar 23, 2016
License: Apache-2.0, Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package tarball provides functions to manipulate tar files.
Note: this package is an implementation detail and shouldn't be used outside
of docker2aci.
Walk walks through the files in the tarball represented by tarstream and
passes each of them to the WalkFunc provided as an argument
type TarFile struct {
TarStream io .Reader
}
TarFile is a representation of a file in a tarball. It consists of two parts,
the Header and the Stream. The Header is a regular tar header, the Stream
is a byte stream that can be used to read the file's contents.
Linkname returns the Linkname of the file as reported by the header.
Name returns the name of the file as reported by the header.
WalkFunc is a func for handling each file (header and byte stream) in a tarball
Source Files
¶
Click to show internal directories.
Click to hide internal directories.