module documentation
Implementation of the reftable refs storage format.
The reftable format is a binary format for storing Git refs that provides better performance and atomic operations compared to the traditional loose refs format.
| Class | |
A block containing reflog records - simplified for empty blocks only. |
| Class | |
A block containing reference records. |
| Class | |
A reference record in a reftable. |
| Class | |
Reader for reftable files. |
| Class | |
A refs container backed by the reftable format. |
| Class | |
Writer for reftable files. |
| Class | |
A reference update operation. |
| Class | |
A reference value with its type. |
| Function | decode |
Decode a variable-length integer from a stream. |
| Function | encode |
Encode an integer as a variable-width integer. |
| Constant | BLOCK |
Undocumented |
| Constant | BLOCK |
Undocumented |
| Constant | BLOCK |
Undocumented |
| Constant | BLOCK |
Undocumented |
| Constant | CRC |
Undocumented |
| Constant | DEFAULT |
Undocumented |
| Constant | EMBEDDED |
Undocumented |
| Constant | FINAL |
Undocumented |
| Constant | HEADER |
Undocumented |
| Constant | MAX |
Undocumented |
| Constant | MAX |
Undocumented |
| Constant | MAX |
Undocumented |
| Constant | MIN |
Undocumented |
| Constant | REF |
Undocumented |
| Constant | REF |
Undocumented |
| Constant | REF |
Undocumented |
| Constant | REF |
Undocumented |
| Constant | REFTABLE |
Undocumented |
| Constant | REFTABLE |
Undocumented |
| Constant | SHA1 |
Undocumented |
| Constant | SHA1 |
Undocumented |
| Constant | SHA1 |
Undocumented |
| Class | _ |
Context manager for batching reftable updates. |
| Function | _decode |
Decode a ref value from stream based on its type. |
| Function | _decode |
Decode suffix_and_type handling both Git's broken and standard formats. |
| Function | _encode |
Encode a ref value based on its type. |
| Function | _encode |
Encode suffix_and_type using Git-compatible format. |