Lines Matching refs:PAX
72 // Type 'x' is used by the PAX format to store key-value records that
77 // Type 'g' is used by the PAX format to store key-value records that
93 // Keywords for PAX extended header records.
95 paxNone = "" // Indicates that no PAX key is suitable
105 paxCtime = "ctime" // Removed from later revision of PAX spec, but was valid
111 // Keywords for GNU sparse files in a PAX extended header.
124 // basicKeys is a set of the PAX keys for which we have built-in support.
125 // This does not contain "charset" or "comment", which are both PAX-specific,
156 // To use AccessTime or ChangeTime, specify the Format as PAX or GNU.
157 // To use sub-second resolution, specify the Format as PAX.
159 AccessTime time.Time // Access time (requires either PAX or GNU support)
160 ChangeTime time.Time // Change time (requires either PAX or GNU support)
165 // Xattrs stores extended attributes as PAX records under the
178 // PAXRecords is a map of PAX extended header records.
186 // When Writer.WriteHeader is called, PAX records derived from the
197 // then it uses the first format (in the order of USTAR, PAX, GNU)
335 var preferPAX bool // Prefer PAX over USTAR
353 whyNoPAX = fmt.Sprintf("PAX cannot encode %s=%q", name, s)
372 whyNoPAX = fmt.Sprintf("PAX cannot encode %s=%d", name, n)
400 whyNoPAX = fmt.Sprintf("PAX cannot encode %s=%v", name, ts)
445 whyOnlyPAX = "only PAX supports TypeXGlobalHeader"
452 // Check PAX records.
457 whyOnlyPAX = "only PAX supports Xattrs"
471 whyOnlyPAX = "only PAX supports PAXRecords"
476 return FormatUnknown, nil, headerError{fmt.Sprintf("invalid PAX record: %q", k+" = "+v)}
506 wantFormat.mayBe(FormatUSTAR) // PAX implies USTAR allowed too
515 err = headerError{"Format specifies PAX", whyNoPAX, whyOnlyGNU}
603 // See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/pax.html#tag_20_92_13_06