| 1495 | } |
| 1496 | |
| 1497 | Status Open(const std::shared_ptr<io::RandomAccessFile>& file, int64_t footer_offset, |
| 1498 | const IpcReadOptions& options) { |
| 1499 | owned_file_ = file; |
| 1500 | metadata_cache_ = std::make_shared<io::internal::ReadRangeCache>( |
| 1501 | file, file->io_context(), options.pre_buffer_cache_options); |
| 1502 | return Open(file.get(), footer_offset, options); |
| 1503 | } |
| 1504 | |
| 1505 | Status Open(io::RandomAccessFile* file, int64_t footer_offset, |
| 1506 | const IpcReadOptions& options) { |
nothing calls this directly
no test coverage detected