Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Commit ¶
type Commit struct {
XMLName xml.Name `xml:"commit"`
Hash string `xml:"hash,attr"`
ShortHash string `xml:"short_hash,attr"`
Author string `xml:"author,attr"`
AuthorDate int64 `xml:"author_date,attr"`
DateAgo int64 `xml:"author_date_ago_s,attr"`
Message string `xml:"message,attr"`
Files []string `xml:"files>file,omitempty"`
}
type GitResult ¶
type GitResult struct {
XMLName xml.Name `xml:"git"`
Timestamp int64 `xml:"timestamp,attr"`
Subcmd string `xml:"subcommand,attr"`
Status []Status `xml:"status>file,omitempty"`
Files []File `xml:"files>file,omitempty"`
Log []Commit `xml:"log>commit,omitempty"`
Blame []Blame `xml:"blame>line,omitempty"`
Errors []GitError `xml:"error,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.