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

Function forbidden

http-backend.c:155–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155__attribute__((format (printf, 2, 3)))
156static NORETURN void forbidden(struct strbuf *hdr, const char *err, ...)
157{
158 va_list params;
159
160 http_status(hdr, 403, "Forbidden");
161 hdr_nocache(hdr);
162 end_headers(hdr);
163
164 va_start(params, err);
165 if (err && *err) {
166 vfprintf(stderr, err, params);
167 putc('\n', stderr);
168 }
169 va_end(params);
170 exit(0);
171}
172
173static void select_getanyfile(struct strbuf *hdr)
174{

Callers 2

select_getanyfileFunction · 0.85
select_serviceFunction · 0.85

Calls 3

http_statusFunction · 0.85
hdr_nocacheFunction · 0.85
end_headersFunction · 0.85

Tested by

no test coverage detected