| 212 | class RConnectionFileInterface : public virtual arrow::io::FileInterface { |
| 213 | public: |
| 214 | explicit RConnectionFileInterface(cpp11::sexp connection_sexp) |
| 215 | : connection_sexp_(connection_sexp), |
| 216 | closed_(false), |
| 217 | seekable_(false), |
| 218 | bytes_written_(0), |
| 219 | bytes_read_(0) { |
| 220 | check_closed(); |
| 221 | seekable_ = check_seekable(); |
| 222 | } |
| 223 | |
| 224 | arrow::Status Close() override { |
| 225 | if (closed_) { |
nothing calls this directly
no outgoing calls
no test coverage detected