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

Function pluginManifest

src/custom/asset.cpp:76–82  ·  view source on GitHub ↗

path to plugin manifest

Source from the content-addressed store, hash-verified

74
75// path to plugin manifest
76std::string pluginManifest(const std::string& dirname) {
77 // no bundlePath set, assume local source build
78 if (bundlePath.empty())
79 return system::join(systemDir, "..", "..", "plugins", dirname, "plugin.json");
80 // bundlePath is present, use resources from bundle
81 return system::join(bundlePath, dirname + ".json");
82}
83
84// path to plugin files
85std::string pluginPath(const std::string& dirname) {

Callers 2

StaticPluginLoaderMethod · 0.85
StaticPluginLoaderMethod · 0.85

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected