| 4850 | } |
| 4851 | |
| 4852 | static int stem_index(const char *repo, const char *db) { |
| 4853 | cbm_pipeline_t *p = cbm_pipeline_new(repo, db, CBM_MODE_FULL); |
| 4854 | if (!p) { |
| 4855 | return -1; |
| 4856 | } |
| 4857 | (void)cbm_pipeline_set_project_name(p, "stem"); |
| 4858 | cbm_pipeline_set_persistence(p, false); |
| 4859 | int rc = cbm_pipeline_run(p); |
| 4860 | cbm_pipeline_free(p); |
| 4861 | return rc; |
| 4862 | } |
| 4863 | |
| 4864 | static void stem_unlink(const char *tmp, const char *rel) { |
| 4865 | char path[512]; |
no test coverage detected