- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for CheckPrecondFn (0.15 sec)
-
cmd/object-handlers.go
return } } } if errors.Is(err, cache.ErrKeyMissing) { update = true } } // Validate pre-conditions if any. opts.CheckPrecondFn = func(oi ObjectInfo) bool { if _, err := DecryptObjectInfo(&oi, r); err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return true } return checkPreconditions(ctx, w, r, oi, opts)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu May 02 20:15:54 GMT 2024 - 125.2K bytes - Viewed (0)