| 439 | bool MockFileSystem::Equals(const FileSystem& other) const { return this == &other; } |
| 440 | |
| 441 | Result<std::string> MockFileSystem::PathFromUri(const std::string& uri_string) const { |
| 442 | ARROW_ASSIGN_OR_RAISE( |
| 443 | std::string parsed_path, |
| 444 | internal::PathFromUriHelper(uri_string, {"mock"}, /*accept_local_paths=*/true, |
| 445 | internal::AuthorityHandlingBehavior::kDisallow)); |
| 446 | return std::string(internal::RemoveLeadingSlash(parsed_path)); |
| 447 | } |
| 448 | |
| 449 | Status MockFileSystem::CreateDir(const std::string& path, bool recursive) { |
| 450 | RETURN_NOT_OK(ValidatePath(path)); |
nothing calls this directly
no test coverage detected