| 1504 | } |
| 1505 | |
| 1506 | Future<> OpenAsync(const std::shared_ptr<io::RandomAccessFile>& file, |
| 1507 | int64_t footer_offset, const IpcReadOptions& options) { |
| 1508 | owned_file_ = file; |
| 1509 | metadata_cache_ = std::make_shared<io::internal::ReadRangeCache>( |
| 1510 | file, file->io_context(), options.pre_buffer_cache_options); |
| 1511 | return OpenAsync(file.get(), footer_offset, options); |
| 1512 | } |
| 1513 | |
| 1514 | Future<> OpenAsync(io::RandomAccessFile* file, int64_t footer_offset, |
| 1515 | const IpcReadOptions& options) { |
nothing calls this directly
no test coverage detected