MCPcopy Create free account
hub / github.com/amule-project/amule / GetDirForPublicSharedDirName

Method GetDirForPublicSharedDirName

src/SharedFileList.cpp:1310–1319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1308
1309
1310const CPath* CSharedFileList::GetDirForPublicSharedDirName(const wxString& strSharedDir) const
1311{
1312 StringPathMap::const_iterator it = m_PublicSharedDirNames.find(strSharedDir);
1313
1314 if (it != m_PublicSharedDirNames.end()) {
1315 return &(it->second);
1316 } else {
1317 return NULL;
1318 }
1319}
1320
1321
1322wxString CSharedFileList::GetPublicSharedDirName(const CPath& dir)

Callers 1

Calls 1

endMethod · 0.45

Tested by

no test coverage detected