MCPcopy Create free account
hub / github.com/bruderstein/nppPluginManager / isInstallOrUpgrade

Method isInstallOrUpgrade

pluginManager/src/PluginList.cpp:840–852  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

838}
839
840BOOL PluginList::isInstallOrUpgrade(const tstring& name)
841{
842 Plugin* plugin = _plugins[name];
843 if (NULL == plugin)
844 {
845 plugin = _libraries[name];
846 }
847
848 if (!plugin || (plugin->isInstalled() && plugin->getVersion() <= plugin->getInstalledVersion()))
849 return FALSE;
850 else
851 return TRUE;
852}
853
854
855

Callers

nothing calls this directly

Calls 1

isInstalledMethod · 0.80

Tested by

no test coverage detected