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

Function bitmap_writer_pos_cache_valid

pack-bitmap-write.c:249–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247}
248
249static bool bitmap_writer_pos_cache_valid(struct bitmap_writer *writer,
250 size_t slot)
251{
252 return !!(writer->pos_cache[slot].pos & BITMAP_POS_CACHE_VALID);
253}
254
255static int find_cached_object_pos(struct bitmap_writer *writer,
256 const struct object_id *oid, uint32_t *pos)

Callers 1

find_cached_object_posFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected