Discover Packages
github.com/stan/gitaly
internal
git
log
package
Version:
v0.65.0
Opens a new window with list of versions in this module.
Published: Dec 27, 2017
License: MIT
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
GetCommit returns a single GitCommit
GitLogCommand returns a Command that executes git log with the given the arguments
Parser holds necessary state for parsing a git log stream
NewLogParser returns a new Parser
Commit returns a successfully parsed git log line. It should be called only when Parser.Parse()
returns true.
Err returns the error encountered (if any) when parsing the diff stream. It should be called only when Parser.Parse()
returns false.
Parse parses a single git log line. It returns true if successful, false if it finished
parsing all logs or when it encounters an error, in which case use Parser.Err()
to get the error.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.