Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Borg (0.23 sec)

  1. src/archive/tar/writer.go

    }
    
    func (tw *Writer) writePAXHeader(hdr *Header, paxHdrs map[string]string) error {
    	realName, realSize := hdr.Name, hdr.Size
    
    	// 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
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  2. src/archive/zip/writer.go

    	if w.last != nil && !w.last.closed {
    		if err := w.last.close(); err != nil {
    			return err
    		}
    	}
    	if len(w.dir) > 0 && w.dir[len(w.dir)-1].FileHeader == fh {
    		// See https://golang.org/issue/11144 confusion.
    		return errors.New("archive/zip: invalid duplicate FileHeader")
    	}
    	return nil
    }
    
    // CreateHeader adds a file to the zip archive using the provided [FileHeader]
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top