Commit e581fd7
reftable: reading/writing blocks
The reftable format is structured as a sequence of block. Within a block,
records are prefix compressed, with an index of offsets for fully expand keys to
enable binary search within blocks.
This commit provides the logic to read and write these blocks.
Helped-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent a322920 commit e581fd7
File tree
5 files changed
+687
-0
lines changed- reftable
- t/helper
5 files changed
+687
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2458 | 2458 | | |
2459 | 2459 | | |
2460 | 2460 | | |
| 2461 | + | |
2461 | 2462 | | |
2462 | 2463 | | |
2463 | 2464 | | |
2464 | 2465 | | |
| 2466 | + | |
2465 | 2467 | | |
2466 | 2468 | | |
2467 | 2469 | | |
| |||
0 commit comments