Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for RemoveObjects (0.06 sec)

  1. cmd/ftp-server-driver.go

    			Recursive: true,
    		}
    		for object := range clnt.ListObjects(cctx, bucket, opts) {
    			if object.Err != nil {
    				return
    			}
    			objectsCh <- object
    		}
    	}()
    
    	// Call RemoveObjects API
    	for err := range clnt.RemoveObjects(context.Background(), bucket, objectsCh, minio.RemoveObjectsOptions{}) {
    		if err.Err != nil {
    			return err.Err
    		}
    	}
    
    	return nil
    }
    
    // DeleteFile implements ftpDriver
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top