Discover Packages
github.phpd.cn/rkt/rkt
Godeps
_workspace
src
github.com
appc
docker2aci
tarball
package
Version:
v0.10.0
Opens a new window with list of versions in this module.
Published: Oct 23, 2015
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
¶
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.