Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsMultipartComposite (0.06 sec)

  1. internal/hash/checksum.go

    func (c ChecksumType) FullObjectRequested() bool {
    	return c&(ChecksumFullObject) == ChecksumFullObject || c.Is(ChecksumCRC64NVME)
    }
    
    // IsMultipartComposite returns true if the checksum is multipart and full object was not requested.
    func (c ChecksumType) IsMultipartComposite() bool {
    	return c.Is(ChecksumMultipart) && !c.FullObjectRequested()
    }
    
    // ObjType returns a string to return as x-amz-checksum-type.
    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/object-handlers.go

    				// to compute it server-side, with the same type as the source object.
    				if dstOpts.WantChecksum != nil && dstOpts.WantChecksum.Type.IsMultipartComposite() {
    					dstOpts.WantServerSideChecksumType = dstOpts.WantChecksum.Type.Base()
    					srcInfo.Reader.AddServerSideChecksumHasher(dstOpts.WantServerSideChecksumType)
    					dstOpts.WantChecksum = nil
    				}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 120.6K bytes
    - Viewed (0)
Back to top