Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ContentCRC (0.15 sec)

  1. internal/hash/reader.go

    }
    
    // ContentCRCType returns the content checksum type.
    func (r *Reader) ContentCRCType() ChecksumType {
    	return r.contentHash.Type
    }
    
    // ContentCRC returns the content crc if set.
    func (r *Reader) ContentCRC() map[string]string {
    	if r.contentHash.Type == ChecksumNone || !r.contentHash.Valid() {
    		return nil
    	}
    	if r.contentHash.Type.Trailing() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. cmd/erasure-multipart.go

    		}
    	}
    
    	partInfo := ObjectPartInfo{
    		Number:     partID,
    		ETag:       md5hex,
    		Size:       n,
    		ActualSize: actualSize,
    		ModTime:    UTCNow(),
    		Index:      index,
    		Checksums:  r.ContentCRC(),
    	}
    
    	partFI, err := partInfo.MarshalMsg(nil)
    	if err != nil {
    		return pi, toObjectErr(err, minioMetaMultipartBucket, partPath)
    	}
    
    	// Serialize concurrent part uploads.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
Back to top