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

Function versionToString

fdbclient/FileBackupAgent.actor.cpp:56–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56static std::string versionToString(Optional<Version> version) {
57 if (version.present())
58 return std::to_string(version.get());
59 else
60 return "N/A";
61}
62
63static std::string timeStampToString(Optional<int64_t> epochs) {
64 if (!epochs.present())

Callers 1

string> getStatusMethod · 0.85

Calls 3

getMethod · 0.65
to_stringFunction · 0.50
presentMethod · 0.45

Tested by

no test coverage detected