Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GetCommits ¶
type GetCommits struct {
// contains filtered or unexported fields
}
GetCommits wraps a git log command that can be iterated on to get individual commit objects
func NewGetCommits ¶
func NewGetCommits(cmd *command.Command, objectReader catfile.ObjectContentReader, shortStat bool) *GetCommits
NewGetCommits returns a new GetCommits object
func (*GetCommits) Commit ¶
func (g *GetCommits) Commit(ctx context.Context, trailers, shortStat, refs bool) (*gitalypb.GitCommit, error)
Commit returns the current commit
func (*GetCommits) Offset ¶
func (g *GetCommits) Offset(offset int) error
Offset skips over a number of commits
func (*GetCommits) Scan ¶
func (g *GetCommits) Scan() bool
Scan indicates whether or not there are more commits to return
Source Files ¶
- check_objects_exist.go
- commit_messages.go
- commit_signatures.go
- commits_by_message.go
- commits_helper.go
- commits_sender.go
- count_commits.go
- count_diverging_commits.go
- filter_shas_with_signatures.go
- find_all_commits.go
- find_commit.go
- find_commits.go
- isancestor.go
- languages.go
- last_commit_for_path.go
- list_all_commits.go
- list_commits.go
- list_commits_by_oid.go
- list_commits_by_ref_name.go
- list_files.go
- list_last_commits_for_tree.go
- raw_blame.go
- server.go
- stats.go
- tree_entries.go
- tree_entry.go
Click to show internal directories.
Click to hide internal directories.