- Sort Score
- Result 10 results
- Languages All
Results 11 - 16 of 16 for IsSet (0.36 sec)
-
cmd/object-multipart-handlers.go
} } checksumType := hash.NewChecksumHeader(r.Header) if checksumType.Is(hash.ChecksumInvalid) { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidChecksum), r.URL) return } else if checksumType.IsSet() && !checksumType.Is(hash.ChecksumTrailing) { opts.WantChecksum = &hash.Checksum{Type: checksumType} } if opts.WantChecksum != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Sep 07 16:13:09 UTC 2025 - 39.5K bytes - Viewed (0) -
cmd/utils.go
} r.Body = hash.NewChecker(r.Body, md5.New(), want, r.ContentLength) return true } cs, err := hash.GetContentChecksum(r.Header) if err != nil { return false } if cs == nil || !cs.Type.IsSet() { return false } if cs.Valid() && !cs.Type.Trailing() { r.Body = hash.NewChecker(r.Body, cs.Type.Hasher(), cs.Raw, r.ContentLength) } return true }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 33K bytes - Viewed (0) -
cmd/object-handlers.go
// destination object using the x-amz-checksum-algorithm header. headerChecksumType := hash.NewChecksumHeader(r.Header) if headerChecksumType.IsSet() { dstOpts.WantServerSideChecksumType = headerChecksumType.Base() srcInfo.Reader.AddServerSideChecksumHasher(headerChecksumType) dstOpts.WantChecksum = nil } else {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Sep 07 16:13:09 UTC 2025 - 120.6K bytes - Viewed (0) -
cmd/test-utils_test.go
// Test Server needs to start before formatting of disks. // Get credential. credentials := globalActiveCred if !globalReplicationPool.IsSet() { globalReplicationPool.Set(nil) } testServer.Obj = objLayer testServer.rawDiskPaths = disks testServer.Disks = mustGetPoolEndpoints(0, disks...) testServer.AccessKey = credentials.AccessKeyRegistered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 77K bytes - Viewed (0) -
cmd/erasure-object.go
} default: actualSize = n } } // If ServerSideChecksum is wanted for this object, it takes precedence // over opts.WantChecksum. if opts.WantServerSideChecksumType.IsSet() { serverSideChecksum := r.RawServerSideChecksumResult() if serverSideChecksum != nil { fi.Checksum = serverSideChecksum.AppendTo(nil, nil) if opts.EncryptFn != nil {Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Sep 07 16:13:09 UTC 2025 - 80.4K bytes - Viewed (0) -
cmd/bucket-replication.go
meta := make(map[string]string) cs, isMP = oi.decryptChecksums(partNum, h) for k, v := range cs { if k == xhttp.AmzChecksumType { continue } cktype := hash.ChecksumStringToType(k) if cktype.IsSet() { meta[cktype.Key()] = v meta[xhttp.AmzChecksumAlgo] = cktype.String() } } return meta, isMP
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 118K bytes - Viewed (0)