go/src/archive/tar/writer_test.go

func bytediff(a, b []byte) string {}

func TestWriter(t *testing.T) {}

func TestPax(t *testing.T) {}

func TestPaxSymlink(t *testing.T) {}

func TestPaxNonAscii(t *testing.T) {}

func TestPaxXattrs(t *testing.T) {}

func TestPaxHeadersSorted(t *testing.T) {}

func TestUSTARLongName(t *testing.T) {}

func TestValidTypeflagWithPAXHeader(t *testing.T) {}

type failOnceWriter

func (w *failOnceWriter) Write(b []byte) (int, error) {}

func TestWriterErrors(t *testing.T) {}

func TestSplitUSTARPath(t *testing.T) {}

// TestIssue12594 tests that the Writer does not attempt to populate the prefix
// field when encoding a header in the GNU format. The prefix field is valid
// in USTAR and PAX, but not GNU.
func TestIssue12594(t *testing.T) {}

func TestWriteLongHeader(t *testing.T) {}

type testNonEmptyWriter

func (w testNonEmptyWriter) Write(b []byte) (int, error) {}

func TestFileWriter(t *testing.T) {}

func TestWriterAddFS(t *testing.T) {}

func TestWriterAddFSNonRegularFiles(t *testing.T) {}