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

Function getTimestampFromVersion

fdbclient/FileBackupAgent.actor.cpp:69–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69static Future<Optional<int64_t>> getTimestampFromVersion(Optional<Version> ver,
70 Reference<ReadYourWritesTransaction> tr) {
71 if (!ver.present())
72 return Optional<int64_t>();
73
74 return timeKeeperEpochsFromVersion(ver.get(), tr);
75}
76
77// Time format :
78// <= 59 seconds

Callers 1

string> getStatusMethod · 0.85

Calls 2

getMethod · 0.65
presentMethod · 0.45

Tested by

no test coverage detected