git/odb
Patrick Steinhardt 8caa2e090f odb/source-inmemory: implement `free()` callback
Implement the `free()` callback function for the "in-memory" source.

Note that this requires us to define `struct cached_object_entry` in
"odb/source-inmemory.h", as it is accessed in both "odb.c" and
"odb/source-inmemory.c" now. This will be fixed in subsequent commits
though.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2026-05-15 04:50:44 +09:00
..
source-files.c odb: use enum for `odb_write_object` flags 2026-03-31 20:43:13 -07:00
source-files.h odb/source: make `free()` function pluggable 2026-03-05 11:45:15 -08:00
source-inmemory.c odb/source-inmemory: implement `free()` callback 2026-05-15 04:50:44 +09:00
source-inmemory.h odb/source-inmemory: implement `free()` callback 2026-05-15 04:50:44 +09:00
source.c odb/source: make `free()` function pluggable 2026-03-05 11:45:15 -08:00
source.h odb: introduce "in-memory" source 2026-05-15 04:50:44 +09:00
streaming.c object-file: remove flags from transaction packfile writes 2026-05-15 04:44:40 +09:00
streaming.h object-file: remove flags from transaction packfile writes 2026-05-15 04:44:40 +09:00
transaction.c odb/transaction: make `write_object_stream()` pluggable 2026-05-15 04:44:40 +09:00
transaction.h odb/transaction: make `write_object_stream()` pluggable 2026-05-15 04:44:40 +09:00