Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ObjType (0.04 sec)

  1. internal/hash/checksum.go

    		return ChecksumNone
    	}
    	return ChecksumInvalid
    }
    
    // NewChecksumType returns a checksum type based on the algorithm string and obj type.
    func NewChecksumType(alg, objType string) ChecksumType {
    	full := ChecksumFullObject
    	switch objType {
    	case xhttp.AmzChecksumTypeFullObject:
    	case xhttp.AmzChecksumTypeComposite, "":
    		full = 0
    	default:
    		return ChecksumInvalid
    	}
    
    	switch strings.ToUpper(alg) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 22 14:15:21 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  2. cmd/erasure-multipart.go

    			return oi, InvalidArgument{
    				Bucket: bucket,
    				Object: fi.Name,
    				Err:    fmt.Errorf("checksum type mismatch. got %q (%s) expected %q (%s)", checksumType.String(), checksumType.ObjType(), opts.WantChecksum.Type.String(), opts.WantChecksum.Type.ObjType()),
    			}
    		}
    		checksumType |= hash.ChecksumMultipart | hash.ChecksumIncludesMultipart
    	}
    
    	var checksumCombined []byte
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:31 UTC 2025
    - 47.1K bytes
    - Viewed (0)
Back to top