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

Method SetFileIfUnset

phxqueue_phxrpc/comm/fileloader.cpp:76–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76bool FileLoader::SetFileIfUnset(const std::string &file) {
77 if (impl_->file.empty()) {
78 impl_->file = file;
79 return true;
80 }
81 return false;
82}
83
84void FileLoader::ResetTimeByInode(ino_t ino) {
85 if (impl_->ino != ino) {

Callers 6

NewGlobalConfigMethod · 0.80
NewTopicConfigMethod · 0.80
NewConsumerConfigMethod · 0.80
NewStoreConfigMethod · 0.80
NewSchedulerConfigMethod · 0.80
NewLockConfigMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected