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

Function get_tempfile_path

tempfile.c:277–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275}
276
277const char *get_tempfile_path(struct tempfile *tempfile)
278{
279 if (!is_tempfile_active(tempfile))
280 BUG("get_tempfile_path() called for inactive object");
281 return tempfile->filename.buf;
282}
283
284int get_tempfile_fd(struct tempfile *tempfile)
285{

Callers 15

write_commit_graph_fileFunction · 0.85
get_locked_file_pathFunction · 0.85
get_lock_file_pathFunction · 0.85
write_midx_internalFunction · 0.85
setup_temporary_shallowFunction · 0.85
generated_pack_installFunction · 0.85
update_info_fileFunction · 0.85
prep_temp_blobFunction · 0.85
do_write_indexFunction · 0.85
write_shared_indexFunction · 0.85
midx_snapshot_refsFunction · 0.85

Calls 1

is_tempfile_activeFunction · 0.85

Tested by

no test coverage detected