| 1475 | } |
| 1476 | |
| 1477 | Status Open(const std::shared_ptr<io::RandomAccessFile>& file, int64_t footer_offset, |
| 1478 | const IpcReadOptions& options) { |
| 1479 | owned_file_ = file; |
| 1480 | metadata_cache_ = std::make_shared<io::internal::ReadRangeCache>( |
| 1481 | file, file->io_context(), options.pre_buffer_cache_options); |
| 1482 | return Open(file.get(), footer_offset, options); |
| 1483 | } |
| 1484 | |
| 1485 | Status Open(io::RandomAccessFile* file, int64_t footer_offset, |
| 1486 | const IpcReadOptions& options) { |
nothing calls this directly
no test coverage detected