Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for writeRawHeader (0.06 sec)

  1. src/archive/tar/writer.go

    	if f.err != nil {
    		return f.err // Only occurs if size condition is violated
    	}
    
    	// Write the header and data.
    	if err := tw.writeRawHeader(&tw.blk, int64(len(data)), flag); err != nil {
    		return err
    	}
    	_, err := io.WriteString(tw, data)
    	return err
    }
    
    // writeRawHeader writes the value of blk, regardless of its value.
    // It sets up the Writer such that it can accept a file of the given size.
    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