Helper: wrap old (gb, project, repo_path) call into ctx-based API */
| 19 | |
| 20 | /* Helper: wrap old (gb, project, repo_path) call into ctx-based API */ |
| 21 | static int run_configlink(cbm_gbuf_t *gb, const char *project, const char *repo_path) { |
| 22 | atomic_int cancelled; |
| 23 | atomic_init(&cancelled, 0); |
| 24 | cbm_pipeline_ctx_t ctx = { |
| 25 | .project_name = project, |
| 26 | .repo_path = repo_path, |
| 27 | .gbuf = gb, |
| 28 | .cancelled = &cancelled, |
| 29 | }; |
| 30 | return cbm_pipeline_pass_configlink(&ctx); |
| 31 | } |
| 32 | #include <sys/stat.h> |
| 33 | #include <unistd.h> |
| 34 |
no test coverage detected