pluginFilenameSlicerImpl

Implementation function, code shared between pluginFileBaseName and pluginNameOfFilename.

private
pluginFilenameSlicerImpl
(
const string filename
,
const bool getPluginName
)

Parameters

filename string

Full path to a plugin file.

getPluginName bool

Whether we want the plugin name or the plugin file "basename".

Return Value

Type: auto

The name of the plugin or its "basename", based on its filename and the getPluginName parameter.