MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / FSameHost

Function FSameHost

src/replication.cpp:104–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104static bool FSameHost(client *clientA, client *clientB)
105{
106 if (clientA == nullptr || clientB == nullptr)
107 return false;
108
109 const unsigned char *a = clientA->uuid;
110 const unsigned char *b = clientB->uuid;
111
112 return FSameUuidNoNil(a, b);
113}
114
115static bool FMasterHost(client *c)
116{

Callers 1

replicaFromMasterFunction · 0.85

Calls 1

FSameUuidNoNilFunction · 0.85

Tested by

no test coverage detected