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

Function MakeNewFileSystem

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

Source from the content-addressed store, hash-verified

720 }
721
722 Result<std::shared_ptr<S3FileSystem>> MakeNewFileSystem(
723 io::IOContext io_context = io::default_io_context()) {
724 options_.ConfigureAccessKey(minio_->access_key(), minio_->secret_key());
725 options_.scheme = minio_->scheme();
726 options_.endpoint_override = minio_->connect_string();
727 if (!options_.retry_strategy) {
728 options_.retry_strategy = std::make_shared<ShortRetryStrategy>();
729 }
730 return S3FileSystem::Make(options_, io_context);
731 }
732
733 void MakeFileSystem() { ASSERT_OK_AND_ASSIGN(fs_, MakeNewFileSystem()); }
734

Callers 2

MakeFileSystemFunction · 0.85
TEST_FFunction · 0.85

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