Lines Matching defs:Commit
34 Commits []*Commit `json:"commits"`
37 type Commit struct {
41 Commit struct {
63 func GetLatestMRBefore(owner, repo, branch string, before string) (ret *Commit, err error) {
68 head := branchResp.Commit
71 for head.Commit.Committer.Date > before {
79 func GetBetweenTimeMRs(owner, repo, branch string, from, to time.Time) (ret []*Commit, err error) {
86 head := branchResp.Commit
89 for head.Commit.Committer.Date > fromStr {
90 if head.Commit.Committer.Date < toStr {
100 func GetBetweenMRs(param CompareParam) ([]*Commit, error) {
105 var ret []*Commit
121 func GetBetweenCommits(param CompareParam) ([]*Commit, error) {