Whether the background watcher subsystem should run (default true). The * daemon host gates watcher construction and thread startup on this; see * cbm_config_watcher_enabled in cli.h. NULL-safe via cbm_config_get_bool (a * NULL cfg returns the default). */
| 7545 | * cbm_config_watcher_enabled in cli.h. NULL-safe via cbm_config_get_bool (a |
| 7546 | * NULL cfg returns the default). */ |
| 7547 | bool cbm_config_watcher_enabled(cbm_config_t *cfg) { |
| 7548 | return cbm_config_get_bool(cfg, CBM_CONFIG_WATCHER_ENABLED, true); |
| 7549 | } |
| 7550 | |
| 7551 | /* Opt-in tree polling of non-git roots (#1948); see cli.h. */ |
| 7552 | bool cbm_config_watch_non_git(cbm_config_t *cfg) { |
no test coverage detected