Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ContentCRCType (0.08 sec)

  1. internal/hash/reader.go

    }
    
    // SHA256HexString returns a hex representation of the SHA256.
    func (r *Reader) SHA256HexString() string {
    	return hex.EncodeToString(r.contentSHA256)
    }
    
    // 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 {
    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

    	writeQuorum := fi.WriteQuorum(er.defaultWQuorum())
    
    	if cs := fi.Metadata[hash.MinIOMultipartChecksum]; cs != "" {
    		if r.ContentCRCType().String() != cs {
    			return pi, InvalidArgument{
    				Bucket: bucket,
    				Object: fi.Name,
    				Err:    fmt.Errorf("checksum missing, want %q, got %q", cs, r.ContentCRCType().String()),
    			}
    		}
    	}
    	onlineDisks = shuffleDisks(onlineDisks, fi.Erasure.Distribution)
    
    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