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

Method PathFromUri

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

Source from the content-addressed store, hash-verified

3044}
3045
3046Result<std::string> S3FileSystem::PathFromUri(const std::string& uri_string) const {
3047 return internal::PathFromUriHelper(uri_string, {"s3"}, /*accept_local_paths=*/false,
3048 internal::AuthorityHandlingBehavior::kPrepend);
3049}
3050
3051Result<std::string> S3FileSystem::MakeUri(std::string path) const {
3052 if (path.length() <= 1 || path[0] != '/') {

Callers 6

TEST_FFunction · 0.45
TestFileSystemFromUriMethod · 0.45
ASSERT_OK_AND_ASSIGNFunction · 0.45
TestInvalidUriOrPathFunction · 0.45
TestInvalidPathFromUriFunction · 0.45
TEST_FFunction · 0.45

Calls 1

PathFromUriHelperFunction · 0.85

Tested by 6

TEST_FFunction · 0.36
TestFileSystemFromUriMethod · 0.36
ASSERT_OK_AND_ASSIGNFunction · 0.36
TestInvalidUriOrPathFunction · 0.36
TestInvalidPathFromUriFunction · 0.36
TEST_FFunction · 0.36