MCPcopy Index your code
hub / github.com/git/git / get_pid_path

Function get_pid_path

lockfile.c:102–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102static 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
109static struct tempfile *create_lock_pid_file(const char *pid_path, int mode)
110{

Callers 2

lock_fileFunction · 0.85
unable_to_lock_messageFunction · 0.85

Calls 1

strbuf_addstrFunction · 0.85

Tested by

no test coverage detected