useMultiDeleteForBulkDelete returns true if the client should use multi-object delete API for bulk delete operations. Returns false for endpoints that do not support multi-object delete (e.g., GCS).
()
| 34 | // multi-object delete API for bulk delete operations. Returns false |
| 35 | // for endpoints that do not support multi-object delete (e.g., GCS). |
| 36 | func (c *Client) useMultiDeleteForBulkDelete() bool { |
| 37 | // NOTE: GCS does not support multi-object delete API. |
| 38 | return !s3utils.IsGoogleEndpoint(*c.endpointURL) |
| 39 | } |
| 40 | |
| 41 | //revive:disable |
| 42 |
no test coverage detected