Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for readOldGNUSparseMap (0.17 sec)

  1. src/archive/tar/reader.go

    // and sets the curr reader appropriately.
    func (tr *Reader) handleSparseFile(hdr *Header, rawHdr *block) error {
    	var spd sparseDatas
    	var err error
    	if hdr.Typeflag == TypeGNUSparse {
    		spd, err = tr.readOldGNUSparseMap(hdr, rawHdr)
    	} else {
    		spd, err = tr.readGNUSparsePAXHeaders(hdr)
    	}
    
    	// If sp is non-nil, then this is a sparse file.
    	// Note that it is possible for len(sp) == 0.
    	if err == nil && spd != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
Back to top