MCPcopy Create free account
hub / github.com/apache/arrow / ListBucketsAsync

Method ListBucketsAsync

cpp/src/arrow/filesystem/s3fs.cc:2974–2981  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2972 }
2973
2974 Future<std::vector<std::string>> ListBucketsAsync() {
2975 auto deferred =
2976 [self = shared_from_this()]() mutable -> Result<std::vector<std::string>> {
2977 ARROW_ASSIGN_OR_RAISE(auto client_lock, self->holder_->Lock());
2978 return self->ProcessListBuckets(client_lock.Move()->ListBuckets());
2979 };
2980 return DeferNotOk(SubmitIO(io_context_, std::move(deferred)));
2981 }
2982
2983 Result<std::shared_ptr<ObjectInputFile>> OpenInputFile(const std::string& s,
2984 S3FileSystem* fs) {

Callers

nothing calls this directly

Calls 5

ProcessListBucketsMethod · 0.95
DeferNotOkFunction · 0.85
SubmitIOFunction · 0.85
ListBucketsMethod · 0.80
MoveMethod · 0.45

Tested by

no test coverage detected