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

Function cbm_cline_root_dir

src/cli/cli.c:2824–2829  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2822}
2823
2824static void cbm_cline_root_dir(const char *home_dir, char *out, size_t out_sz) {
2825 int written = snprintf(out, out_sz, "%s/.cline", home_dir);
2826 if (written < 0 || (size_t)written >= out_sz) {
2827 out[0] = '\0';
2828 }
2829}
2830
2831/* CLINE_DATA_DIR redirects only the IDE data state. CLI MCP, rules, and
2832 * skills remain in the documented ~/.cline root. */

Callers 3

cbm_detect_agentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected