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