| 7958 | } |
| 7959 | |
| 7960 | static bool cbm_devin_user_dir(const cbm_agent_registry_context_t *registry, char *path, |
| 7961 | size_t path_size) { |
| 7962 | const char *base = registry->options.home_dir; |
| 7963 | const char *suffix = ".config/devin"; |
| 7964 | if (registry->options.is_windows && registry->options.appdata_dir && |
| 7965 | registry->options.appdata_dir[0]) { |
| 7966 | base = registry->options.appdata_dir; |
| 7967 | suffix = "devin"; |
| 7968 | } |
| 7969 | int written = snprintf(path, path_size, "%s/%s", base, suffix); |
| 7970 | return written > 0 && (size_t)written < path_size; |
| 7971 | } |
| 7972 | |
| 7973 | static void install_gitlab_durable_context(const cbm_agent_registry_context_t *registry, |
| 7974 | const char *binary_path, bool dry_run) { |
no outgoing calls
no test coverage detected