MCPcopy Create free account
hub / github.com/apache/singa / SetDefaultDir

Method SetDefaultDir

src/utils/channel.cc:39–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39void ChannelManager::SetDefaultDir(const char* dir) {
40 if (dir != nullptr) {
41 dir_ = dir;
42 if (dir[dir_.length() - 1] != '/') dir_ += '/';
43 }
44}
45
46Channel* ChannelManager::GetInstance(const std::string& channel) {
47 // find the channel

Callers 1

SetChannelDirectoryFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected