diff options
author | René Scharfe <l.s.r@web.de> | 2019-01-06 17:45:30 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-01-08 09:40:19 -0800 |
commit | 0000d6543f1c2ceea017161a2807167cdfbf8c0b (patch) | |
tree | 5b6a69a5dedba99739ecee0c2f9c617ab4cac157 /list-objects.c | |
parent | First batch after 2.20.1 (diff) | |
download | tgif-0000d6543f1c2ceea017161a2807167cdfbf8c0b.tar.xz |
object-store: factor out odb_loose_cache()
Add and use a function for loading the entries of a loose object
subdirectory for a given object ID. It frees callers from deriving the
fanout key; they can use the returned oid_array reference for lookups or
forward range scans.
Suggested-by: Jeff King <peff@peff.net>
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'list-objects.c')
0 files changed, 0 insertions, 0 deletions