Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for deepEqual (0.17 sec)

  1. src/archive/tar/common.go

    	case TypeXGlobalHeader:
    		h2 := Header{Name: h.Name, Typeflag: h.Typeflag, Xattrs: h.Xattrs, PAXRecords: h.PAXRecords, Format: h.Format}
    		if !reflect.DeepEqual(h, h2) {
    			return FormatUnknown, nil, headerError{"only PAXRecords should be set for TypeXGlobalHeader"}
    		}
    		whyOnlyPAX = "only PAX supports TypeXGlobalHeader"
    		format.mayOnlyBe(FormatPAX)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
Back to top