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

Method MakeNewFileSystem

cpp/src/arrow/filesystem/s3fs_test.cc:599–608  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

597 }
598
599 Result<std::shared_ptr<S3FileSystem>> MakeNewFileSystem(
600 io::IOContext io_context = io::default_io_context()) {
601 options_.ConfigureAccessKey(minio_->access_key(), minio_->secret_key());
602 options_.scheme = minio_->scheme();
603 options_.endpoint_override = minio_->connect_string();
604 if (!options_.retry_strategy) {
605 options_.retry_strategy = std::make_shared<ShortRetryStrategy>();
606 }
607 return S3FileSystem::Make(options_, io_context);
608 }
609
610 void MakeFileSystem() { ASSERT_OK_AND_ASSIGN(fs_, MakeNewFileSystem()); }
611

Callers

nothing calls this directly

Calls 6

ConfigureAccessKeyMethod · 0.80
access_keyMethod · 0.80
secret_keyMethod · 0.80
connect_stringMethod · 0.80
MakeFunction · 0.50
schemeMethod · 0.45

Tested by

no test coverage detected