| 283 | } |
| 284 | |
| 285 | Result<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 | |
| 295 | Result<std::string> LocalFileSystem::MakeUri(std::string path) const { |
| 296 | ARROW_ASSIGN_OR_RAISE(path, DoNormalizePath(std::move(path))); |
nothing calls this directly
no test coverage detected