class documentation

Resolve undo extension for recording merge conflicts.

Class Method from_bytes Parse ResolveUndoExtension from bytes.
Method __init__ Initialize ResolveUndoExtension.
Method to_bytes Serialize ResolveUndoExtension to bytes.
Instance Variable entries Undocumented

Inherited from IndexExtension:

Class Method from_raw Create an extension from raw data.
Class Variable data Undocumented
Class Variable signature Undocumented
def from_bytes(cls, data: bytes) -> ResolveUndoExtension:

Parse ResolveUndoExtension from bytes.

Parameters
data:bytesRaw bytes to parse
Returns
ResolveUndoExtensionResolveUndoExtension instance
def __init__(self, entries: list[tuple[bytes, list[tuple[int, bytes]]]]):

Initialize ResolveUndoExtension.

Parameters
entries:list[tuple[bytes, list[tuple[int, bytes]]]]List of (path, stages) where stages is a list of (stage, sha) tuples
def to_bytes(self) -> bytes:

Serialize ResolveUndoExtension to bytes.

Returns
bytesSerialized extension data
entries =

Undocumented