class documentation

class RefValue:

View In Hierarchy

A reference value with its type.

Method get_sha Get the SHA1 value (for regular or peeled refs).
Class Variable value Undocumented
Class Variable value_type Undocumented
Property is_deletion Check if this is a deletion.
Property is_peeled Check if this is a peeled reference.
Property is_symbolic Check if this is a symbolic reference.
def get_sha(self) -> bytes | None:

Get the SHA1 value (for regular or peeled refs).

value: bytes =

Undocumented

value_type: int =

Undocumented

is_deletion: bool =

Check if this is a deletion.

is_peeled: bool =

Check if this is a peeled reference.

is_symbolic: bool =

Check if this is a symbolic reference.