class documentation

class RebaseTodoEntry:

View In Hierarchy

Represents a single entry in a rebase todo list.

Class Method from_string Parse a todo entry from a line.
Method to_string Convert to git-rebase-todo format string.
Class Variable arguments Undocumented
Class Variable command Undocumented
Class Variable commit_sha Undocumented
Class Variable short_message Undocumented
def from_string(cls, line: str) -> RebaseTodoEntry | None:

Parse a todo entry from a line.

Parameters
line:strLine from git-rebase-todo file
Returns
RebaseTodoEntry | NoneRebaseTodoEntry or None if line is empty/comment
def to_string(self, abbreviate: bool = False) -> str:

Convert to git-rebase-todo format string.

Parameters
abbreviate:boolUse abbreviated command names
Returns
strString representation for todo file
arguments: str | None =

Undocumented

Undocumented

commit_sha: ObjectID | None =

Undocumented

short_message: str | None =

Undocumented