MCPcopy Create free account
hub / github.com/clechasseur/pathcopycopy / IsAndrogynous

Method IsAndrogynous

PathCopyCopy/plugins/src/ShortPathPlugin.cpp:104–111  ·  view source on GitHub ↗

Determines if this plugin is androgynous. It is considered androgynous if the long path plugin is not shown according to settings. @return true to use androgynous description, false to use normal description.

Source from the content-addressed store, hash-verified

102 // @return true to use androgynous description, false to use normal description.
103 //
104 bool ShortPathPlugin::IsAndrogynous() const
105 {
106 assert(m_pSettings != nullptr);
107
108 return m_pSettings != nullptr &&
109 m_pSettings->GetDropRedundantWords() &&
110 !PluginUtils::IsPluginShown(*m_pSettings, LongPathPlugin::ID);
111 }
112
113 } // namespace Plugins
114

Callers

nothing calls this directly

Calls 1

GetDropRedundantWordsMethod · 0.80

Tested by

no test coverage detected