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

Function logBackupDR

fdbcli/StatusCommand.actor.cpp:184–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182}
183
184std::string logBackupDR(const char* context, std::map<std::string, std::string> const& tagMap) {
185 std::string outputString = "";
186 if (tagMap.size() > 0) {
187 outputString += format("\n\n%s:", context);
188 for (auto itr : tagMap) {
189 outputString += format("\n %-22s", itr.first.c_str());
190 if (itr.second.size() > 0) {
191 outputString += format(" - %s", itr.second.c_str());
192 }
193 }
194 }
195
196 return outputString;
197}
198
199} // namespace
200

Callers 1

printStatusFunction · 0.85

Calls 3

formatFunction · 0.50
sizeMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected