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

Function watcher_git_output_cleanup

src/watcher/watcher.c:171–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169} watcher_git_status_t;
170
171static void watcher_git_output_cleanup(watcher_git_output_t *output) {
172 if (output && output->path[0]) {
173 (void)cbm_unlink(output->path);
174 output->path[0] = '\0';
175 output->size = 0;
176 }
177}
178
179static bool watcher_git_output_create(watcher_git_output_t *output) {
180 if (!output) {

Callers 7

watcher_git_runFunction · 0.85
git_tracks_anything_hereFunction · 0.85
git_repo_cdupFunction · 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