codex
Loading...
Searching...
No Matches
anonymous_namespace{main.cpp}::InteractiveLine Struct Reference

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
 

Detailed Description

Parsed information from a Git interactive rebase list.

Member Enumeration Documentation

◆ Command

enum class anonymous_namespace{main.cpp}::InteractiveLine::Command
strong
Enumerator
INVALID 
PICK 
EDIT 
EXEC 
FIXUP 
MAX 

Member Function Documentation

◆ cmd_str()

std::string_view anonymous_namespace{main.cpp}::InteractiveLine::cmd_str ( Command cmd)
static

Generates the string representation of an interactive command.

Here is the caller graph for this function:

◆ parse_cmd()

auto anonymous_namespace{main.cpp}::InteractiveLine::parse_cmd ( std::string_view s)
static

Parses an interactive command from its string representation.

Here is the caller graph for this function:

◆ parse_line()

bool anonymous_namespace{main.cpp}::InteractiveLine::parse_line ( std::string_view s)

Generates the parsed version of an interactive rebase line.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ cmd

Command anonymous_namespace{main.cpp}::InteractiveLine::cmd = Command::INVALID

◆ desc

std::string_view anonymous_namespace{main.cpp}::InteractiveLine::desc

◆ hash

std::uint64_t anonymous_namespace{main.cpp}::InteractiveLine::hash

The documentation for this struct was generated from the following file: