diff options
author | Han-Wen Nienhuys <hanwen@google.com> | 2021-10-07 20:24:59 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-10-08 10:45:48 -0700 |
commit | 890044708dcc6144aac928f3592cb8fa64ac0580 (patch) | |
tree | 83c30fda2077c28ed79640ae993abef774428e57 /streaming.c | |
parent | reftable: add LICENSE (diff) | |
download | tgif-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 'streaming.c')
0 files changed, 0 insertions, 0 deletions