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

Function blobGranuleSplitValueFor

fdbclient/SystemData.cpp:1518–1522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1516}
1517
1518const Value blobGranuleSplitValueFor(BlobGranuleSplitState st) {
1519 BinaryWriter wr(IncludeVersion(ProtocolVersion::withBlobGranule()));
1520 wr << st;
1521 return addVersionStampAtEnd(wr.toValue());
1522}
1523
1524std::pair<BlobGranuleSplitState, Version> decodeBlobGranuleSplitValue(const ValueRef& value) {
1525 BlobGranuleSplitState st;

Calls 3

IncludeVersionFunction · 0.85
addVersionStampAtEndFunction · 0.85
toValueMethod · 0.45

Tested by

no test coverage detected