| 52 | } |
| 53 | |
| 54 | bool PyFileSystem::Equals(const FileSystem& other) const { |
| 55 | bool result; |
| 56 | auto st = SafeCallIntoPython([&]() -> Status { |
| 57 | result = vtable_.equals(handler_.obj(), other); |
| 58 | if (PyErr_Occurred()) { |
| 59 | PyErr_WriteUnraisable(handler_.obj()); |
| 60 | } |
| 61 | return Status::OK(); |
| 62 | }); |
| 63 | ARROW_UNUSED(st); |
| 64 | return result; |
| 65 | } |
| 66 | |
| 67 | Result<FileInfo> PyFileSystem::GetFileInfo(const std::string& path) { |
| 68 | FileInfo info; |
no test coverage detected