Versions in this module Expand all Collapse all v1 v1.0.4 Jan 3, 2023 v1.0.3 Jun 9, 2022 v1.0.2 Sep 6, 2021 v1.0.1 Aug 25, 2021 Changes in this version + type Dir struct + Name string + UID int + func (d Dir) Tar(tw *tar.Writer) error + type Extractable interface + func Extract(t *testing.T, r io.Reader) []Extractable + type File struct + Contents *bytes.Buffer + Name string + UID int + func (f File) Tar(tw *tar.Writer) error + type Hardlink struct + Name string + UID int + func (h Hardlink) Tar(tw *tar.Writer) error + type Tarball []Tarrer + func (tb Tarball) Buffer() *bytes.Buffer + func (tb Tarball) Gzip() *bytes.Buffer + type Tarrer interface + Tar func(*tar.Writer) error