| 7852 | } |
| 7853 | |
| 7854 | static bool cbm_devin_user_dir(const cbm_agent_registry_context_t *registry, char *path, |
| 7855 | size_t path_size) { |
| 7856 | const char *base = registry->options.home_dir; |
| 7857 | const char *suffix = ".config/devin"; |
| 7858 | if (registry->options.is_windows && registry->options.appdata_dir && |
| 7859 | registry->options.appdata_dir[0]) { |
| 7860 | base = registry->options.appdata_dir; |
| 7861 | suffix = "devin"; |
| 7862 | } |
| 7863 | int written = snprintf(path, path_size, "%s/%s", base, suffix); |
| 7864 | return written > 0 && (size_t)written < path_size; |
| 7865 | } |
| 7866 | |
| 7867 | static void install_gitlab_durable_context(const cbm_agent_registry_context_t *registry, |
| 7868 | const char *binary_path, bool dry_run) { |
no outgoing calls
no test coverage detected