MCPcopy Create free account
hub / github.com/apple/foundationdb / storageCacheValue

Function storageCacheValue

fdbclient/SystemData.cpp:375–379  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373}
374
375const Value storageCacheValue(const std::vector<uint16_t>& serverIndices) {
376 BinaryWriter wr((IncludeVersion(ProtocolVersion::withStorageCacheValue())));
377 wr << serverIndices;
378 return wr.toValue();
379}
380
381void decodeStorageCacheValue(const ValueRef& value, std::vector<uint16_t>& serverIndices) {
382 serverIndices.clear();

Calls 2

IncludeVersionFunction · 0.85
toValueMethod · 0.45

Tested by

no test coverage detected