Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for formatPAXRecord (0.28 sec)

  1. src/archive/tar/writer.go

    	if len(paxHdrs) > 0 || isGlobal {
    		// Write each record to a buffer.
    		var buf strings.Builder
    		// Sort keys for deterministic ordering.
    		for _, k := range slices.Sorted(maps.Keys(paxHdrs)) {
    			rec, err := formatPAXRecord(k, paxHdrs[k])
    			if err != nil {
    				return err
    			}
    			buf.WriteString(rec)
    		}
    
    		// Write the extended header file.
    		var name string
    		var flag byte
    		if isGlobal {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 14:22:59 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top