|
codex
|
Parsed information from a Git interactive rebase list. More...
Public Types | |
| enum class | Command { INVALID , PICK , EDIT , EXEC , FIXUP , MAX } |
Public Member Functions | |
| bool | parse_line (std::string_view s) |
| Generates the parsed version of an interactive rebase line. | |
Static Public Member Functions | |
| static Command | parse_cmd (std::string_view s) |
| Parses an interactive command from its string representation. | |
| static std::string_view | cmd_str (Command cmd) |
| Generates the string representation of an interactive command. | |
Public Attributes | |
| Command | cmd = Command::INVALID |
| std::uint64_t | hash |
| std::string_view | desc |
Parsed information from a Git interactive rebase list.
|
strong |
|
static |
Generates the string representation of an interactive command.

|
static |
Parses an interactive command from its string representation.

| bool anonymous_namespace{main.cpp}::InteractiveLine::parse_line | ( | std::string_view | s | ) |
Generates the parsed version of an interactive rebase line.


| Command anonymous_namespace{main.cpp}::InteractiveLine::cmd = Command::INVALID |
| std::string_view anonymous_namespace{main.cpp}::InteractiveLine::desc |
| std::uint64_t anonymous_namespace{main.cpp}::InteractiveLine::hash |