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

Function close_pack_fd

packfile.c:401–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

399}
400
401int close_pack_fd(struct packed_git *p)
402{
403 if (p->pack_fd < 0)
404 return 0;
405
406 close(p->pack_fd);
407 pack_open_fds--;
408 p->pack_fd = -1;
409
410 return 1;
411}
412
413void close_pack_index(struct packed_git *p)
414{

Callers 5

close_packFunction · 0.85
close_one_packFunction · 0.85
open_packed_gitFunction · 0.85
use_packFunction · 0.85
verify_midx_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected