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

Method PathFromUri

cpp/src/arrow/filesystem/localfs.cc:285–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283}
284
285Result<std::string> LocalFileSystem::PathFromUri(const std::string& uri_string) const {
286#ifdef _WIN32
287 auto authority_handling = internal::AuthorityHandlingBehavior::kWindows;
288#else
289 auto authority_handling = internal::AuthorityHandlingBehavior::kDisallow;
290#endif
291 return internal::PathFromUriHelper(uri_string, {"file"}, /*accept_local_paths=*/true,
292 authority_handling);
293}
294
295Result<std::string> LocalFileSystem::MakeUri(std::string path) const {
296 ARROW_ASSIGN_OR_RAISE(path, DoNormalizePath(std::move(path)));

Callers

nothing calls this directly

Calls 1

PathFromUriHelperFunction · 0.85

Tested by

no test coverage detected