Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ContentCRC (0.16 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() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
  2. cmd/erasure-multipart.go

    	}
    
    	partInfo := ObjectPartInfo{
    		Number:     partID,
    		ETag:       md5hex,
    		Size:       n,
    		ActualSize: data.ActualSize(),
    		ModTime:    UTCNow(),
    		Index:      index,
    		Checksums:  r.ContentCRC(),
    	}
    
    	fi.Parts = []ObjectPartInfo{partInfo}
    	partFI, err := fi.MarshalMsg(nil)
    	if err != nil {
    		return pi, toObjectErr(err, minioMetaMultipartBucket, partPath)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
Back to top