MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / reset

Method reset

src/gui2/datastore.cc:622–644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

620}
621
622void Datastore::reset()
623{
624 Events::OperationStart::post("");
625 Datastore::runOnWorkerThread(
626 []
627 {
628 busy = true;
629 failed = false;
630 DEFER(wtOperationStop());
631
632 try
633 {
634 wtRebuildConfiguration(false);
635 wtClearDiskData();
636 wtWaitForUiThreadToCatchUp();
637 }
638 catch (...)
639 {
640 failed = true;
641 throw;
642 }
643 });
644}
645
646void Datastore::stop()
647{

Callers 7

bitmap.ccFile · 0.45
putFileMethod · 0.45
resetFluxDecoderMethod · 0.45
seekToPatternMethod · 0.45
~WindowSplashMethod · 0.45
CustomStatusBarMethod · 0.45
MainWindowImplMethod · 0.45

Calls 5

runOnWorkerThreadFunction · 0.85
wtOperationStopFunction · 0.85
wtRebuildConfigurationFunction · 0.85
wtClearDiskDataFunction · 0.85

Tested by

no test coverage detected