Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for sparseHoles (0.13 sec)

  1. src/archive/tar/writer.go

    	// TODO(dsnet): Re-enable this when adding sparse support.
    	// See https://golang.org/issue/22735
    	/*
    		// Handle sparse files.
    		var spd sparseDatas
    		var spb []byte
    		if len(hdr.SparseHoles) > 0 {
    			sph := append([]sparseEntry{}, hdr.SparseHoles...) // Copy sparse map
    			sph = alignSparseEntries(sph, hdr.Size)
    			spd = invertSparseEntries(sph, hdr.Size)
    
    			// Format the sparse map.
    			hdr.Size = 0 // Replace with encoded size
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Wed Oct 02 14:22:59 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top