summaryrefslogtreecommitdiff
path: root/object-store.h
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2019-01-07 17:29:16 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-01-08 17:40:19 (GMT)
commit8be88dbcb1322df53c41c496bf718c5564c82bfb (patch)
treecfdab85c5073d450ad2386d634cced2ac3007c41 /object-store.h
parent4cea1ce0f69d079819f2a189febcea215045dabf (diff)
downloadgit-8be88dbcb1322df53c41c496bf718c5564c82bfb.zip
git-8be88dbcb1322df53c41c496bf718c5564c82bfb.tar.gz
git-8be88dbcb1322df53c41c496bf718c5564c82bfb.tar.bz2
object-store: retire odb_load_loose_cache()
Inline odb_load_loose_cache() into its only remaining caller, odb_loose_cache(). The latter offers a nicer interface for loading the cache, as it doesn't require callers to deal with fanout directory numbers directly. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'object-store.h')
-rw-r--r--object-store.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/object-store.h b/object-store.h
index 2fb6c0e..e16aa38 100644
--- a/object-store.h
+++ b/object-store.h
@@ -48,13 +48,6 @@ void add_to_alternates_file(const char *dir);
void add_to_alternates_memory(const char *dir);
/*
- * Populate an odb's loose object cache for one particular subdirectory (i.e.,
- * the one that corresponds to the first byte of objects you're interested in,
- * from 0 to 255 inclusive).
- */
-void odb_load_loose_cache(struct object_directory *odb, int subdir_nr);
-
-/*
* Populate and return the loose object cache array corresponding to the
* given object ID.
*/