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

Method IsAndrogynous

PathCopyCopy/plugins/src/ShortFolderPlugin.cpp:93–100  ·  view source on GitHub ↗

Determines if this plugin is androgynous. It is considered androgynous if the long folder 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

91 // @return true to use androgynous description, false to use normal description.
92 //
93 bool ShortFolderPlugin::IsAndrogynous() const
94 {
95 assert(m_pSettings != nullptr);
96
97 return m_pSettings != nullptr &&
98 m_pSettings->GetDropRedundantWords() &&
99 !PluginUtils::IsPluginShown(*m_pSettings, LongFolderPlugin::ID);
100 }
101
102 } // namespace Plugins
103

Callers

nothing calls this directly

Calls 1

GetDropRedundantWordsMethod · 0.80

Tested by

no test coverage detected