git/reftable
Patrick Steinhardt c2f08236ed reftable/system: stop depending on "hash.h"
We include "hash.h" in "reftable/system.h" such that we can use hash
format IDs as well as the raw size of SHA1 and SHA256. As we are in the
process of converting the reftable library to become standalone we of
course cannot rely on those constants anymore.

Introduce a new `enum reftable_hash` to replace internal uses of the
hash format IDs and new constants that replace internal uses of the hash
size. Adapt the reftable backend to set up the correct hash function.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-11-19 12:23:10 +09:00
..
LICENSE
basics.c reftable/system: stop depending on "hash.h" 2024-11-19 12:23:10 +09:00
basics.h reftable/system: stop depending on "hash.h" 2024-11-19 12:23:10 +09:00
block.c reftable: handle trivial `reftable_buf` errors 2024-10-17 16:59:56 -04:00
block.h reftable: convert from `strbuf` to `reftable_buf` 2024-10-17 16:59:56 -04:00
blocksource.c reftable/blocksource: adapt interface name 2024-10-17 16:59:56 -04:00
blocksource.h reftable/blocksource: adapt interface name 2024-10-17 16:59:56 -04:00
constants.h reftable: make the compaction factor configurable 2024-05-13 17:02:39 -07:00
error.c reftable/error: introduce out-of-memory error code 2024-10-02 07:53:50 -07:00
iter.c reftable: handle trivial `reftable_buf` errors 2024-10-17 16:59:56 -04:00
iter.h reftable: convert from `strbuf` to `reftable_buf` 2024-10-17 16:59:56 -04:00
merged.c reftable/system: stop depending on "hash.h" 2024-11-19 12:23:10 +09:00
merged.h reftable/system: stop depending on "hash.h" 2024-11-19 12:23:10 +09:00
pq.c reftable: introduce `REFTABLE_FREE_AND_NULL()` 2024-10-02 07:53:56 -07:00
pq.h reftable/pq: handle allocation failures when adding entries 2024-10-02 07:53:55 -07:00
reader.c reftable/system: stop depending on "hash.h" 2024-11-19 12:23:10 +09:00
reader.h reftable/system: stop depending on "hash.h" 2024-11-19 12:23:10 +09:00
record.c reftable: handle trivial `reftable_buf` errors 2024-10-17 16:59:56 -04:00
record.h reftable/record: adapt `reftable_record_key()` to handle allocation failures 2024-10-17 16:59:56 -04:00
reftable-basics.h reftable/system: stop depending on "hash.h" 2024-11-19 12:23:10 +09:00
reftable-blocksource.h
reftable-error.h reftable/error: introduce out-of-memory error code 2024-10-02 07:53:50 -07:00
reftable-iterator.h reftable/generic: adapt interface to allow reuse of iterators 2024-05-13 17:04:18 -07:00
reftable-merged.h reftable/system: stop depending on "hash.h" 2024-11-19 12:23:10 +09:00
reftable-reader.h reftable/system: stop depending on "hash.h" 2024-11-19 12:23:10 +09:00
reftable-record.h reftable/system: stop depending on "hash.h" 2024-11-19 12:23:10 +09:00
reftable-stack.h Merge branch 'ps/reftable-alloc-failures' 2024-10-10 14:22:25 -07:00
reftable-writer.h reftable/system: stop depending on "hash.h" 2024-11-19 12:23:10 +09:00
stack.c reftable/system: stop depending on "hash.h" 2024-11-19 12:23:10 +09:00
stack.h reftable: make the compaction factor configurable 2024-05-13 17:02:39 -07:00
system.h reftable/system: stop depending on "hash.h" 2024-11-19 12:23:10 +09:00
tree.c reftable/tree: handle allocation failures 2024-10-02 07:53:55 -07:00
tree.h reftable/tree: handle allocation failures 2024-10-02 07:53:55 -07:00
writer.c reftable/system: stop depending on "hash.h" 2024-11-19 12:23:10 +09:00
writer.h reftable: convert from `strbuf` to `reftable_buf` 2024-10-17 16:59:56 -04:00