Versions in this module Expand all Collapse all v1 v1.2.2 May 12, 2024 v1.2.1 May 10, 2024 v1.2.0 May 19, 2023 v1.1.0 Apr 13, 2023 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