MCPcopy Create free account
hub / github.com/Tencent/phxqueue / UpdateModTime

Method UpdateModTime

phxqueue/config/baseconfig.h:76–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 virtual comm::RetCode Rebuild() = 0;
75
76 void UpdateModTime() {
77 last_mod_time_ = (std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch())).count();
78 }
79
80 void NeedRebuild() {
81 auto now_time((std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch())).count());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected