Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ContentCRCType (0.15 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 10.8K 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 44.8K bytes
    - Viewed (0)
Back to top