| 113 | } |
| 114 | |
| 115 | Result<std::shared_ptr<io::RandomAccessFile>> Buffer::GetReader( |
| 116 | std::shared_ptr<Buffer> buf) { |
| 117 | return buf->memory_manager_->GetBufferReader(std::move(buf)); |
| 118 | } |
| 119 | |
| 120 | Result<std::shared_ptr<io::OutputStream>> Buffer::GetWriter(std::shared_ptr<Buffer> buf) { |
| 121 | if (!buf->is_mutable()) { |
nothing calls this directly
no test coverage detected