| 229 | } watcher_git_status_t; |
| 230 | |
| 231 | static 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 | |
| 239 | static bool watcher_git_output_create(watcher_git_output_t *output) { |
| 240 | if (!output) { |
no test coverage detected