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

Function parseReplicationPolicy

fdbclient/DatabaseConfiguration.cpp:67–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67void parseReplicationPolicy(Reference<IReplicationPolicy>* policy, ValueRef const& v) {
68 BinaryReader reader(v, IncludeVersion());
69 serializeReplicationPolicy(reader, *policy);
70}
71
72void parse(std::vector<RegionInfo>* regions, ValueRef const& v) {
73 try {

Callers 1

setInternalMethod · 0.85

Calls 2

IncludeVersionFunction · 0.85

Tested by

no test coverage detected