MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / syncRecent

Method syncRecent

Suscan/Library.cpp:598–613  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

596}
597
598void
599Singleton::syncRecent(void)
600{
601 ConfigContext ctx("recent");
602 Object list = ctx.listObject();
603
604 list.clear();
605
606 for (auto p : this->recentProfiles) {
607 try {
608 list.append(Object::makeField(p));
609 } catch (Suscan::Exception const &) {
610 // Don't even bother to warn
611 }
612 }
613}
614
615void
616Singleton::syncLocations(void)

Callers 1

syncMethod · 0.95

Calls 3

listObjectMethod · 0.80
appendMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected