Documentation
¶
Overview ¶
Package git contains types and engines to work with git repositories.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commit ¶
type Commit struct {
SHA string `yaml:"sha"`
ParentSHAs []string `yaml:"parent_shas"`
Message string `yaml:"message"`
CommittedAt time.Time `yaml:"committed_at"`
AuthoredAt time.Time `yaml:"authored_at"`
URL string `yaml:"url"`
Author User `yaml:"author"`
Committer User `yaml:"committer"`
}
Commit represents a repository commit.
type CommitsComparison ¶
CommitsComparison is the result of comparing two commits.
type PullRequest ¶
type PullRequest struct {
Number int `yaml:"number"`
Title string `yaml:"title"`
Body string `yaml:"body"`
Author User `yaml:"author"`
Labels []string `yaml:"labels"`
ClosedAt time.Time `yaml:"closed_at"`
SourceBranch string `yaml:"source_branch"`
TargetBranch string `yaml:"target_branch"`
URL string `yaml:"url"`
ReceivedBySHAs []string `yaml:"received_by_shas"`
Assignees []User `yaml:"assignees"`
}
PullRequest represents a pull/merge request from the remote repository.
Click to show internal directories.
Click to hide internal directories.