MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / watcher_git_output_cleanup

Function watcher_git_output_cleanup

src/watcher/watcher.c:166–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164} watcher_git_status_t;
165
166static void watcher_git_output_cleanup(watcher_git_output_t *output) {
167 if (output && output->path[0]) {
168 (void)cbm_unlink(output->path);
169 output->path[0] = '\0';
170 output->size = 0;
171 }
172}
173
174static bool watcher_git_output_create(watcher_git_output_t *output) {
175 if (!output) {

Callers 5

watcher_git_runFunction · 0.85
git_headFunction · 0.85
git_dirty_signatureFunction · 0.85
git_file_countFunction · 0.85

Calls 1

cbm_unlinkFunction · 0.85

Tested by

no test coverage detected