| 169 | } watcher_git_status_t; |
| 170 | |
| 171 | static 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 | |
| 179 | static bool watcher_git_output_create(watcher_git_output_t *output) { |
| 180 | if (!output) { |
no test coverage detected