Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for headerError (0.18 sec)

  1. src/archive/tar/common.go

    	if format == FormatUnknown {
    		switch h.Format {
    		case FormatUSTAR:
    			err = headerError{"Format specifies USTAR", whyNoUSTAR, whyOnlyPAX, whyOnlyGNU}
    		case FormatPAX:
    			err = headerError{"Format specifies PAX", whyNoPAX, whyOnlyGNU}
    		case FormatGNU:
    			err = headerError{"Format specifies GNU", whyNoGNU, whyOnlyPAX}
    		default:
    			err = headerError{whyNoUSTAR, whyNoPAX, whyNoGNU, whyOnlyPAX, whyOnlyGNU}
    		}
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  2. src/archive/tar/writer_test.go

    				Typeflag: TypeReg,
    				Name:     "bad-null.txt",
    				Xattrs:   map[string]string{"null\x00null\x00": "fizzbuzz"},
    			}, headerError{}},
    		},
    	}, {
    		tests: []testFnc{
    			testHeader{Header{
    				Typeflag: TypeReg,
    				Name:     "null\x00.txt",
    			}, headerError{}},
    		},
    	}, {
    		file: "testdata/pax-records.tar",
    		tests: []testFnc{
    			testHeader{Header{
    				Typeflag: TypeReg,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top