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

Function watcher_git_output_cleanup

src/watcher/watcher.c:231–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229} watcher_git_status_t;
230
231static void watcher_git_output_cleanup(watcher_git_output_t *output) {
232 if (output && output->path[0]) {
233 (void)cbm_unlink(output->path);
234 output->path[0] = '\0';
235 output->size = 0;
236 }
237}
238
239static bool watcher_git_output_create(watcher_git_output_t *output) {
240 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