MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / reloadFromSourceFile

Method reloadFromSourceFile

Source/Core/CtrlrPanel/CtrlrPanelResource.cpp:245–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245bool CtrlrPanelResource::reloadFromSourceFile()
246{
247 if (getSourceFile().existsAsFile())
248 {
249 if (getSourceFile().copyFileTo (resourceDataFile))
250 {
251 resourceLoaded = false;
252 load();
253 }
254 }
255
256 return (true);
257}

Callers 2

moveResourcesMethod · 0.80

Calls 3

copyFileToMethod · 0.80
loadFunction · 0.50
existsAsFileMethod · 0.45

Tested by

no test coverage detected