| 399 | } |
| 400 | |
| 401 | int 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 | |
| 413 | void close_pack_index(struct packed_git *p) |
| 414 | { |
no outgoing calls
no test coverage detected