go/src/archive/tar/tar_test.go

type testError

type fileOps

type testFile

func (f *testFile) Read(b []byte) (int, error) {}

func (f *testFile) Write(b []byte) (int, error) {}

func (f *testFile) Seek(pos int64, whence int) (int64, error) {}

func TestSparseEntries(t *testing.T) {}

func TestFileInfoHeader(t *testing.T) {}

func TestFileInfoHeaderDir(t *testing.T) {}

func TestFileInfoHeaderSymlink(t *testing.T) {}

func TestRoundTrip(t *testing.T) {}

type headerRoundTripTest

func TestHeaderRoundTrip(t *testing.T) {}

func TestHeaderAllowedFormats(t *testing.T) {}

func Benchmark(b *testing.B) {}

var _

type fileInfoNames

func (f *fileInfoNames) Name() string {}

func (f *fileInfoNames) Size() int64 {}

func (f *fileInfoNames) Mode() fs.FileMode {}

func (f *fileInfoNames) ModTime() time.Time {}

func (f *fileInfoNames) IsDir() bool {}

func (f *fileInfoNames) Sys() any {}

func (f *fileInfoNames) Uname() (string, error) {}

func (f *fileInfoNames) Gname() (string, error) {}

func TestFileInfoHeaderUseFileInfoNames(t *testing.T) {}