Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser holds necessary state for parsing a git log stream
func NewLogParser ¶
NewLogParser returns a new Parser
func (*Parser) Commit ¶
Commit returns a successfully parsed git log line. It should be called only when Parser.Parse() returns true.
Click to show internal directories.
Click to hide internal directories.