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

Function get_tempfile_fd

tempfile.c:284–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282}
283
284int get_tempfile_fd(struct tempfile *tempfile)
285{
286 if (!is_tempfile_active(tempfile))
287 BUG("get_tempfile_fd() called for inactive object");
288 return tempfile->fd;
289}
290
291FILE *get_tempfile_fp(struct tempfile *tempfile)
292{

Callers 6

write_commit_graph_fileFunction · 0.85
get_lock_file_fdFunction · 0.85
write_midx_internalFunction · 0.85
write_with_updatesFunction · 0.85

Calls 1

is_tempfile_activeFunction · 0.85

Tested by 1