MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / cli_config_follow_begin

Function cli_config_follow_begin

src/cli/cli.c:8386–8395  ·  view source on GitHub ↗

The agent-configuration writers opt in to following user-owned symlinked * config files under the user's configuration roots (#1954, decision C); * every other caller of the config editors keeps refusing links. Cleared by * the same command when its configuration work is done. */

Source from the content-addressed store, hash-verified

8384 * every other caller of the config editors keeps refusing links. Cleared by
8385 * the same command when its configuration work is done. */
8386static void cli_config_follow_begin(const char *home) {
8387 cbm_config_edit_path_follow_clear();
8388 if (home && home[0]) {
8389 (void)cbm_config_edit_path_follow_add_root(home);
8390 }
8391 const char *xdg_config = getenv("XDG_CONFIG_HOME");
8392 if (xdg_config && xdg_config[0]) {
8393 (void)cbm_config_edit_path_follow_add_root(xdg_config);
8394 }
8395}
8396
8397/* The closing list of what uninstall could not clean. Printed AFTER the
8398 * executable and the indexes are gone, so nothing in it is a reason to keep

Callers 2

cli_uninstall_activateFunction · 0.85

Tested by

no test coverage detected