aboutsummaryrefslogtreecommitdiff
path: root/packfile.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2026-03-12 09:43:00 +0100
committerJunio C Hamano <gitster@pobox.com>2026-03-12 08:38:42 -0700
commitb259f2175b0ccd5574fc6b06b8ec5cbeaa860610 (patch)
tree62a0f6dae02ca80a874f08c5adb694d202b59222 /packfile.h
parent2b24db1110150138ac1e09bc60d9ae5245909625 (diff)
downloadgit-b259f2175b0ccd5574fc6b06b8ec5cbeaa860610.tar.xz
odb/source: introduce generic object counting
Introduce generic object counting on the object database source level with a new backend-specific callback function. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'packfile.h')
-rw-r--r--packfile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/packfile.h b/packfile.h
index 1da8c729cb..74b6bc58c5 100644
--- a/packfile.h
+++ b/packfile.h
@@ -275,6 +275,7 @@ enum kept_pack_type {
* Return 0 on success, a negative error code otherwise.
*/
int packfile_store_count_objects(struct packfile_store *store,
+ enum odb_count_objects_flags flags,
unsigned long *out);
/*