Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VCVRack/Rack
/ isFavorite
Method
isFavorite
src/plugin/Model.cpp:214–217 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
212
213
214
bool Model::isFavorite() {
215
const settings::ModuleInfo* mi = settings::getModuleInfo(plugin->slug, slug);
216
return mi && mi->favorite;
217
}
218
219
220
void Model::setFavorite(bool favorite) {
Callers
1
onButton
Method · 0.80
Calls
1
getModuleInfo
Function · 0.85
Tested by
no test coverage detected