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

Method IsAndrogynous

PathCopyCopy/plugins/src/LongUNCFolderPlugin.cpp:103–110  ·  view source on GitHub ↗

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

101 // @return true to use androgynous description, false to use normal description.
102 //
103 bool LongUNCFolderPlugin::IsAndrogynous() const
104 {
105 assert(m_pSettings != nullptr);
106
107 return m_pSettings != nullptr &&
108 m_pSettings->GetDropRedundantWords() &&
109 !PluginUtils::IsPluginShown(*m_pSettings, ShortUNCFolderPlugin::ID);
110 }
111
112 //
113 // Returns the long UNC path of the specified file's parent directory.

Callers

nothing calls this directly

Calls 1

GetDropRedundantWordsMethod · 0.80

Tested by

no test coverage detected