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

Function timeStampToString

fdbclient/FileBackupAgent.actor.cpp:63–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63static std::string timeStampToString(Optional<int64_t> epochs) {
64 if (!epochs.present())
65 return "N/A";
66 return BackupAgentBase::formatTime(epochs.get());
67}
68
69static Future<Optional<int64_t>> getTimestampFromVersion(Optional<Version> ver,
70 Reference<ReadYourWritesTransaction> tr) {

Callers 2

toJSONMethod · 0.85
string> getStatusMethod · 0.85

Calls 2

getMethod · 0.65
presentMethod · 0.45

Tested by

no test coverage detected