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

Function cbm_devin_user_dir

src/cli/cli.c:9307–9318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9305}
9306
9307static bool cbm_devin_user_dir(const cbm_agent_registry_context_t *registry, char *path,
9308 size_t path_size) {
9309 const char *base = registry->options.home_dir;
9310 const char *suffix = ".config/devin";
9311 if (registry->options.is_windows && registry->options.appdata_dir &&
9312 registry->options.appdata_dir[0]) {
9313 base = registry->options.appdata_dir;
9314 suffix = "devin";
9315 }
9316 int written = snprintf(path, path_size, "%s/%s", base, suffix);
9317 return written > 0 && (size_t)written < path_size;
9318}
9319
9320static void install_gitlab_durable_context(const cbm_agent_registry_context_t *registry,
9321 const char *binary_path, bool dry_run) {

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected