| 817 | } |
| 818 | |
| 819 | static void autowatch_setEnabled(color_ostream &out, bool enable) { |
| 820 | DEBUG(control,out).print("auto-adding to watchlist {}\n", enable ? "started" : "stopped"); |
| 821 | config.set_bool(CONFIG_AUTOWATCH, enable); |
| 822 | if (config.get_bool(CONFIG_IS_ENABLED)) |
| 823 | autobutcher_cycle(out); |
| 824 | } |
| 825 | |
| 826 | // set all data for a watchlist race in one go |
| 827 | // if race is not already on watchlist it will be added |
nothing calls this directly
no test coverage detected