| 100 | } |
| 101 | |
| 102 | static void get_pid_path(struct strbuf *out, const char *path) |
| 103 | { |
| 104 | strbuf_addstr(out, path); |
| 105 | strbuf_addstr(out, LOCK_PID_INFIX); |
| 106 | strbuf_addstr(out, LOCK_SUFFIX); |
| 107 | } |
| 108 | |
| 109 | static struct tempfile *create_lock_pid_file(const char *pid_path, int mode) |
| 110 | { |
no test coverage detected