Skip to content

Commit 6a15d89

Browse files
committed
refactored stat_object
refactored select_object_content refactor get_presigned_object_url refactor get_presigned_policy_form_data refactored upload-part-copy
1 parent f23572d commit 6a15d89

File tree

122 files changed

+5029
-4997
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+5029
-4997
lines changed

benches/s3/common_benches.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use criterion::Criterion;
1717
use minio::s3::Client;
1818
use minio::s3::error::Error;
1919
use minio::s3::response::{MakeBucketResponse, PutObjectContentResponse};
20-
use minio::s3::types::{FromS3Response, S3Api};
20+
use minio::s3::types::{FromS3Response, S3Api, S3Request};
2121
use minio_common::cleanup_guard::CleanupGuard;
2222
use minio_common::test_context::TestContext;
2323
use minio_common::utils::{
@@ -140,7 +140,7 @@ pub(crate) fn benchmark_s3_api<ApiType, GlobalSetupFuture>(
140140

141141
// Per-iteration setup for initial request
142142
let api = per_iter_setup(&ctx);
143-
let request = api.to_s3request().unwrap();
143+
let request: S3Request = api.to_s3request().unwrap();
144144

145145
// Execute the request to get a response, store the bytes for swift cloning
146146
let bytes: bytes::Bytes = rt.block_on(async {

common/src/example.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// See the License for the specific language governing permissions and
1414
// limitations under the License.
1515

16-
use minio::s3::args::PostPolicy;
16+
use minio::s3::builders::PostPolicy;
1717
use minio::s3::types::{
1818
AndOperator, Destination, Filter, LifecycleConfig, LifecycleRule, NotificationConfig,
1919
ObjectLockConfig, PrefixFilterRule, QueueConfig, ReplicationConfig, ReplicationRule,

0 commit comments

Comments
 (0)