| 65 | } |
| 66 | |
| 67 | Result<FileInfo> PyFileSystem::GetFileInfo(const std::string& path) { |
| 68 | FileInfo info; |
| 69 | |
| 70 | auto st = SafeCallIntoPython([&]() -> Status { |
| 71 | vtable_.get_file_info(handler_.obj(), path, &info); |
| 72 | return CheckPyError(); |
| 73 | }); |
| 74 | RETURN_NOT_OK(st); |
| 75 | return info; |
| 76 | } |
| 77 | |
| 78 | Result<std::vector<FileInfo>> PyFileSystem::GetFileInfo( |
| 79 | const std::vector<std::string>& paths) { |
nothing calls this directly
no test coverage detected