Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mayOnlyBe (0.11 sec)

  1. src/archive/tar/common.go

    		format.mayOnlyBe(FormatPAX)
    	}
    	if !isHeaderOnlyType(h.Typeflag) && h.Size < 0 {
    		return FormatUnknown, nil, headerError{"negative size on header-only type"}
    	}
    
    	// Check PAX records.
    	if len(h.Xattrs) > 0 {
    		for k, v := range h.Xattrs {
    			paxHdrs[paxSchilyXattr+k] = v
    		}
    		whyOnlyPAX = "only PAX supports Xattrs"
    		format.mayOnlyBe(FormatPAX)
    	}
    	if len(h.PAXRecords) > 0 {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
Back to top