MCPcopy Create free account
hub / github.com/YACReader/yacreader / getId

Method getId

YACReaderLibrary/yacreader_libraries.cpp:107–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107int YACReaderLibraries::getId(const QString &name) const
108{
109 auto library = std::find_if(libraries.cbegin(), libraries.cend(), [name](const YACReaderLibrary &library) { return library.getName() == name; });
110 return library != libraries.cend() ? library->getLegacyId() : -1;
111}
112
113QUuid YACReaderLibraries::getUuid(const QString &name) const
114{

Callers 5

getPathMethod · 0.45
renameMethod · 0.45
getUuidMethod · 0.45
getIdFromUuidMethod · 0.45

Calls 2

getLegacyIdMethod · 0.80
getNameMethod · 0.45

Tested by

no test coverage detected