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

Function encodeBackupStartedValue

fdbclient/SystemData.cpp:989–993  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

987}
988
989Value encodeBackupStartedValue(const std::vector<std::pair<UID, Version>>& ids) {
990 BinaryWriter wr(IncludeVersion(ProtocolVersion::withBackupStartValue()));
991 wr << ids;
992 return wr.toValue();
993}
994
995std::vector<std::pair<UID, Version>> decodeBackupStartedValue(const ValueRef& value) {
996 std::vector<std::pair<UID, Version>> ids;

Callers 2

Calls 2

IncludeVersionFunction · 0.85
toValueMethod · 0.45

Tested by

no test coverage detected