Simulates the daemon's index worker writing cbm's own output under the root * on every successful reindex (the artifact re-export of #1953). */
| 2532 | /* Simulates the daemon's index worker writing cbm's own output under the root |
| 2533 | * on every successful reindex (the artifact re-export of #1953). */ |
| 2534 | static int own_output_index_callback(const char *name, const char *path, void *ud) { |
| 2535 | (void)name; |
| 2536 | (void)ud; |
| 2537 | index_call_count++; |
| 2538 | th_append_file(TH_PATH(path, CBM_ARTIFACT_DIR "/graph.py"), "# rewritten by index\n"); |
| 2539 | return 0; |
| 2540 | } |
| 2541 | |
| 2542 | /* The signature must only see what the indexer would index. Paths discovery |
| 2543 | * skips — cbm's own .codebase-memory output, built-in skip dirs, .cbmignore'd |
nothing calls this directly
no test coverage detected