MCPcopy Create free account
hub / github.com/git/git / lazy_queue_put

Function lazy_queue_put

builtin/describe.c:270–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268}
269
270static void lazy_queue_put(struct lazy_queue *queue, void *thing)
271{
272 if (queue->get_pending)
273 prio_queue_replace(&queue->queue, thing);
274 else
275 prio_queue_put(&queue->queue, thing);
276 queue->get_pending = false;
277}
278
279static bool lazy_queue_empty(const struct lazy_queue *queue)
280{

Callers 2

finish_depth_computationFunction · 0.85
describe_commitFunction · 0.85

Calls 2

prio_queue_replaceFunction · 0.85
prio_queue_putFunction · 0.85

Tested by

no test coverage detected