]> Kevux Git Server - rit/commit
odb: split `struct odb_source` into separate header
authorPatrick Steinhardt <ps@pks.im>
Thu, 5 Mar 2026 14:19:41 +0000 (15:19 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Mar 2026 19:45:14 +0000 (11:45 -0800)
commitba1c21d34346e5979f9308806274bfcda4949ad4
tree6168a797016f662df19ed08117011e9bac081af2
parentb1af291b4adf1c433ad2b79f0390f7d6b516a964
odb: split `struct odb_source` into separate header

Subsequent commits will expand the `struct odb_source` to become a
generic interface for accessing an object database source. As part of
these refactorings we'll add a set of function pointers that will
significantly expand the structure overall.

Prepare for this by splitting out the `struct odb_source` into a
separate header. This keeps the high-level object database interface
detached from the low-level object database sources.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
meson.build
odb.c
odb.h
odb/source.c [new file with mode: 0644]
odb/source.h [new file with mode: 0644]