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

Method ResetTimeByInode

phxqueue_phxrpc/comm/fileloader.cpp:84–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84void FileLoader::ResetTimeByInode(ino_t ino) {
85 if (impl_->ino != ino) {
86 impl_->ino = ino;
87 impl_->last_mod_time = 0;
88 }
89}
90
91bool FileLoader::LoadIfModified() {
92 bool is_modified = false;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected