| 199 | } |
| 200 | |
| 201 | bool PyReadableFile::closed() const { |
| 202 | bool res; |
| 203 | Status st = SafeCallIntoPython([this, &res]() { |
| 204 | res = file_->closed(); |
| 205 | return Status::OK(); |
| 206 | }); |
| 207 | return res; |
| 208 | } |
| 209 | |
| 210 | Status PyReadableFile::Seek(int64_t position) { |
| 211 | return SafeCallIntoPython([=] { return file_->Seek(position, 0); }); |
nothing calls this directly
no test coverage detected