* Path generation helpers. * Given base path "foo", generate: * - lock path: "foo.lock" * - pid path: "foo-pid.lock" */
| 94 | * - pid path: "foo-pid.lock" |
| 95 | */ |
| 96 | static void get_lock_path(struct strbuf *out, const char *path) |
| 97 | { |
| 98 | strbuf_addstr(out, path); |
| 99 | strbuf_addstr(out, LOCK_SUFFIX); |
| 100 | } |
| 101 | |
| 102 | static void get_pid_path(struct strbuf *out, const char *path) |
| 103 | { |
no test coverage detected