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

Function write_items_sequentially

parallel-checkout.c:639–649  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

637}
638
639static void write_items_sequentially(struct checkout *state)
640{
641 size_t i;
642
643 for (i = 0; i < parallel_checkout.nr; i++) {
644 struct parallel_checkout_item *pc_item = &parallel_checkout.items[i];
645 write_pc_item(pc_item, state);
646 if (pc_item->status != PC_ITEM_COLLIDED)
647 advance_progress_meter();
648 }
649}
650
651int run_parallel_checkout(struct checkout *state, int num_workers, int threshold,
652 struct progress *progress, unsigned int *progress_cnt)

Callers 1

run_parallel_checkoutFunction · 0.85

Calls 2

write_pc_itemFunction · 0.85
advance_progress_meterFunction · 0.85

Tested by

no test coverage detected