Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for writeUSTARHeader (0.24 sec)

  1. src/archive/tar/writer.go

    	case allowedFormats.has(FormatUSTAR):
    		tw.err = tw.writeUSTARHeader(&tw.hdr)
    		return tw.err
    	case allowedFormats.has(FormatPAX):
    		tw.err = tw.writePAXHeader(&tw.hdr, paxHdrs)
    		return tw.err
    	case allowedFormats.has(FormatGNU):
    		tw.err = tw.writeGNUHeader(&tw.hdr)
    		return tw.err
    	default:
    		return err // Non-fatal error
    	}
    }
    
    func (tw *Writer) writeUSTARHeader(hdr *Header) error {
    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