Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PolyMC/PolyMC
/ observe
Method
observe
launcher/ui/pages/instance/ServersPage.cpp:196–210 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
194
virtual ~ServersModel() {};
195
196
void observe()
197
{
198
if(m_observed)
199
{
200
return;
201
}
202
m_observed = true;
203
204
if(!m_loaded)
205
{
206
load();
207
}
208
209
updateFSObserver();
210
}
211
212
void unobserve()
213
{
Callers
1
openedImpl
Method · 0.80
Calls
1
load
Function · 0.85
Tested by
no test coverage detected