Versions in this module Expand all Collapse all v1 v1.1.0 Apr 21, 2015 Changes in this version + func AddIndexToTar(input io.Reader, output io.Writer) error v1.0.0 Apr 21, 2015 Changes in this version + const IndexVersion + var FileNotFound = errors.New("File not found") + var IndexSignature = []byte + var NotRegFile = errors.New("This is not a regular file") + var UnableToSerializeIndexEntry = errors.New("Unable to serialize: invalid content") + var UnsuportedIndex = errors.New("Unsuported tar file") + func AddIndexIndexToTar(input io.Reader, output io.Writer) error + func Newindex() *index + type Reader struct + func NewReader(r io.ReadSeeker) (*Reader, error) + func (r *Reader) GetNames(onlyRegFiles bool) []string + func (r *Reader) ReadFile(file string) ([]byte, error) + type Writer struct + func NewWriter(w io.Writer) *Writer + func (w *Writer) Close() error + func (w *Writer) Flush() error + func (w *Writer) Write(b []byte) (int, error) + func (w *Writer) WriteHeader(hdr *tar.Header) error