Discover Packages
github.com/jonboulle/docker2aci
lib
internal
tarball
package
Version:
v0.0.0-...-08bd690
Opens a new window with list of versions in this module.
Published: May 29, 2016
License: 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.