Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for deletePrefix (0.1 sec)

  1. cmd/admin-handlers.go

    		if !noClear && !bucketExists {
    			defer deleteObjectPerfBucket(objectAPI)
    		}
    	}
    
    	if !noClear {
    		defer objectAPI.DeleteObject(ctx, customBucket, speedTest+SlashSeparator, ObjectOptions{
    			DeletePrefix: true,
    		})
    	}
    
    	// Freeze all incoming S3 API calls before running speedtest.
    	globalNotificationSys.ServiceFreeze(ctx, true)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	rcfg, _ := globalBucketObjectLockSys.Get(bucket)
    	if rcfg.LockEnabled && opts.DeletePrefix {
    		apiErr := toAPIError(ctx, errInvalidArgument)
    		apiErr.Description = "force-delete is forbidden on Object Locking enabled buckets"
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top