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

Function cbm_devin_user_dir

src/cli/cli.c:7898–7909  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7896}
7897
7898static bool cbm_devin_user_dir(const cbm_agent_registry_context_t *registry, char *path,
7899 size_t path_size) {
7900 const char *base = registry->options.home_dir;
7901 const char *suffix = ".config/devin";
7902 if (registry->options.is_windows && registry->options.appdata_dir &&
7903 registry->options.appdata_dir[0]) {
7904 base = registry->options.appdata_dir;
7905 suffix = "devin";
7906 }
7907 int written = snprintf(path, path_size, "%s/%s", base, suffix);
7908 return written > 0 && (size_t)written < path_size;
7909}
7910
7911static void install_gitlab_durable_context(const cbm_agent_registry_context_t *registry,
7912 const char *binary_path, bool dry_run) {

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected