summaryrefslogtreecommitdiff
path: root/reftable/reftable-tests.h
diff options
context:
space:
mode:
authorLibravatar Han-Wen Nienhuys <hanwen@google.com>2021-10-07 20:24:59 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-10-08 10:45:48 -0700
commit890044708dcc6144aac928f3592cb8fa64ac0580 (patch)
tree83c30fda2077c28ed79640ae993abef774428e57 /reftable/reftable-tests.h
parentreftable: add LICENSE (diff)
downloadtgif-890044708dcc6144aac928f3592cb8fa64ac0580.tar.xz
reftable: add error related functionality
The reftable/ directory is structured as a library, so it cannot crash on misuse. Instead, it returns an error code. In addition to signaling errors, the error code can be used to signal conditions from lower levels of the library to be handled by higher levels of the library. For example, in a transaction we might legitimately write an empty reftable file, but in that case, we want to shortcut the transaction. Signed-off-by: Han-Wen Nienhuys <hanwen@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'reftable/reftable-tests.h')
0 files changed, 0 insertions, 0 deletions