Checks if this plugin should be displayed when folders are selected. @return true to display this plugin when folders are selected.
| 285 | // @return true to display this plugin when folders are selected. |
| 286 | // |
| 287 | bool PipelinePlugin::ShowForFolders() const noexcept(false) |
| 288 | { |
| 289 | // This is stored in pipeline options. |
| 290 | bool showForFolders = Plugin::ShowForFolders(); |
| 291 | const Pipeline* pPipeline = GetPipeline(); |
| 292 | if (pPipeline != nullptr) { |
| 293 | PipelineOptions options; |
| 294 | pPipeline->ModifyOptions(options); |
| 295 | showForFolders = options.GetShowForFolders(); |
| 296 | } |
| 297 | return showForFolders; |
| 298 | } |
| 299 | |
| 300 | } // namespace Plugins |
| 301 |
nothing calls this directly
no test coverage detected