| 7902 | } |
| 7903 | |
| 7904 | static bool cbm_devin_user_dir(const cbm_agent_registry_context_t *registry, char *path, |
| 7905 | size_t path_size) { |
| 7906 | const char *base = registry->options.home_dir; |
| 7907 | const char *suffix = ".config/devin"; |
| 7908 | if (registry->options.is_windows && registry->options.appdata_dir && |
| 7909 | registry->options.appdata_dir[0]) { |
| 7910 | base = registry->options.appdata_dir; |
| 7911 | suffix = "devin"; |
| 7912 | } |
| 7913 | int written = snprintf(path, path_size, "%s/%s", base, suffix); |
| 7914 | return written > 0 && (size_t)written < path_size; |
| 7915 | } |
| 7916 | |
| 7917 | static void install_gitlab_durable_context(const cbm_agent_registry_context_t *registry, |
| 7918 | const char *binary_path, bool dry_run) { |
no outgoing calls
no test coverage detected