MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / cutOffIdHash

Function cutOffIdHash

Source/VSTPlugin.cpp:183–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181 }
182
183 juce::String cutOffIdHash(juce::String inputString)
184 {
185 juce::StringArray parts;
186 parts.addTokens(inputString, "-", "");
187
188 if (parts.size() >= 2)
189 {
190 parts.remove(parts.size() - 2);
191 juce::String result = parts.joinIntoString("-");
192 return result;
193 }
194 return inputString;
195 }
196
197 bool GetPluginDesc(juce::PluginDescription& desc, juce::String pluginId)
198 {

Callers 1

GetPluginDescFunction · 0.85

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected