Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for updating (0.17 sec)

  1. cmd/erasure-object.go

    		queued:    time.Now(),
    	})
    }
    
    func (er erasureObjects) PutObjectMetadata(ctx context.Context, bucket, object string, opts ObjectOptions) (ObjectInfo, error) {
    	if !opts.NoLock {
    		// Lock the object before updating metadata.
    		lk := er.NewNSLock(bucket, object)
    		lkctx, err := lk.GetLock(ctx, globalOperationTimeout)
    		if err != nil {
    			return ObjectInfo{}, err
    		}
    		ctx = lkctx.Context()
    		defer lk.Unlock(lkctx)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
Back to top