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

Function http_install_packfile

http.c:2718–2724  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2716}
2717
2718void http_install_packfile(struct packed_git *p,
2719 struct packfile_list *list_to_remove_from)
2720{
2721 struct odb_source_files *files = odb_source_files_downcast(the_repository->objects->sources);
2722 packfile_list_remove(list_to_remove_from, p);
2723 packfile_store_add_pack(files->packed, p);
2724}
2725
2726struct http_pack_request *new_http_pack_request(
2727 const unsigned char *packed_git_hash, const char *base_url) {

Callers 2

http_fetch_packFunction · 0.85
finish_requestFunction · 0.85

Calls 3

packfile_list_removeFunction · 0.85
packfile_store_add_packFunction · 0.85

Tested by

no test coverage detected