MCPcopy Create free account
hub / github.com/facebook/CacheLib / createFileRecordReader

Function createFileRecordReader

cachelib/navy/serialization/RecordIO.cpp:292–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290}
291
292std::unique_ptr<RecordReader> createFileRecordReader(int fd) {
293 return std::make_unique<FileRecordReader>(fd);
294}
295
296std::unique_ptr<RecordWriter> createFileRecordWriter(folly::File file) {
297 return std::make_unique<FileRecordWriter>(std::move(file));

Callers 4

TESTFunction · 0.85
RestoreWorkerMethod · 0.85
RestorerMethod · 0.85
ObjectCacheRestorerMethod · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68