module documentation

Tests for dulwich.refs.

Class CheckRefFormatTests Tests for the check_ref_format function.
Class DictRefsContainerTests Undocumented
Class DiskRefsContainerTests Undocumented
Class InfoRefsContainerTests Undocumented
Class PackedRefsFileTests Undocumented
Class ParseSymrefValueTests Undocumented
Class RefsContainerTests Undocumented
Class StripPeeledRefsTests Undocumented
Constant FOURS Undocumented
Constant ONES Undocumented
Constant THREES Undocumented
Constant TWOS Undocumented
Constant _TEST_REFS Undocumented
Constant _TEST_REFS_SERIALIZED Undocumented
FOURS =

Undocumented

Value
b'4'*40
ONES =

Undocumented

Value
b'1'*40
THREES =

Undocumented

Value
b'3'*40
TWOS =

Undocumented

Value
b'2'*40
_TEST_REFS: dict[bytes, bytes] =

Undocumented

Value
{b'HEAD': b'42d06bd4b77fed026b154d16493e5deab78f02ec',
 b'refs/heads/40-char-ref-aaaaaaaaaaaaaaaaaa': b'42d06bd4b77fed026b154d16493e5de
ab78f02ec',
 b'refs/heads/master': b'42d06bd4b77fed026b154d16493e5deab78f02ec',
 b'refs/heads/packed': b'42d06bd4b77fed026b154d16493e5deab78f02ec',
 b'refs/tags/refs-0.1': b'df6800012397fb85c56e7418dd4eb9405dee075c',
 b'refs/tags/refs-0.2': b'3ec9c43c84ff242e3ef4a9fc5bc111fd780a76a8',
...
_TEST_REFS_SERIALIZED: bytes =

Undocumented

Value
b'''42d06bd4b77fed026b154d16493e5deab78f02ec\trefs/heads/40-char-ref-aaaaaaaaaaa
aaaaaaa
42d06bd4b77fed026b154d16493e5deab78f02ec\trefs/heads/master
42d06bd4b77fed026b154d16493e5deab78f02ec\trefs/heads/packed
df6800012397fb85c56e7418dd4eb9405dee075c\trefs/tags/refs-0.1
3ec9c43c84ff242e3ef4a9fc5bc111fd780a76a8\trefs/tags/refs-0.2
'''