MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / normalizeSlug

Function normalizeSlug

src/override/plugin.cpp:194–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192
193
194std::string normalizeSlug(const std::string& slug) {
195 std::string s;
196 for (char c : slug) {
197 if (!(std::isalnum(c) || c == '-' || c == '_'))
198 continue;
199 s += c;
200 }
201 return s;
202}
203
204
205std::vector<Plugin*> plugins;

Callers 1

modelFromJsonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected