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

Function serverTagKeyFor

fdbclient/SystemData.cpp:582–587  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

580const KeyRef serverTagHistoryPrefix = serverTagHistoryKeys.begin;
581
582const Key serverTagKeyFor(UID serverID) {
583 BinaryWriter wr(Unversioned());
584 wr.serializeBytes(serverTagKeys.begin);
585 wr << serverID;
586 return wr.toValue();
587}
588
589const Key serverTagHistoryKeyFor(UID serverID) {
590 BinaryWriter wr(Unversioned());

Calls 3

UnversionedFunction · 0.85
serializeBytesMethod · 0.45
toValueMethod · 0.45

Tested by

no test coverage detected