| 8260 | } |
| 8261 | |
| 8262 | static bool cbm_devin_user_dir(const cbm_agent_registry_context_t *registry, char *path, |
| 8263 | size_t path_size) { |
| 8264 | const char *base = registry->options.home_dir; |
| 8265 | const char *suffix = ".config/devin"; |
| 8266 | if (registry->options.is_windows && registry->options.appdata_dir && |
| 8267 | registry->options.appdata_dir[0]) { |
| 8268 | base = registry->options.appdata_dir; |
| 8269 | suffix = "devin"; |
| 8270 | } |
| 8271 | int written = snprintf(path, path_size, "%s/%s", base, suffix); |
| 8272 | return written > 0 && (size_t)written < path_size; |
| 8273 | } |
| 8274 | |
| 8275 | static void install_gitlab_durable_context(const cbm_agent_registry_context_t *registry, |
| 8276 | const char *binary_path, bool dry_run) { |
no outgoing calls
no test coverage detected