Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
func NewServer(rs *rubyserver.Server) gitalypb.CommitServiceServer
NewServer creates a new instance of a grpc CommitServiceServer
Types ¶
type GetCommits ¶ added in v1.13.0
type GetCommits struct {
// contains filtered or unexported fields
}
GetCommits wraps a git log command that can be interated on to get individual commit objects
func NewGetCommits ¶ added in v1.13.0
func NewGetCommits(cmd *command.Command, batch *catfile.Batch) *GetCommits
NewGetCommits returns a new GetCommits object
func (*GetCommits) Commit ¶ added in v1.13.0
func (g *GetCommits) Commit() (*gitalypb.GitCommit, error)
Commit returns the current commit
func (*GetCommits) Err ¶ added in v1.13.0
func (g *GetCommits) Err() error
Err returns the first non EOF error
func (*GetCommits) Offset ¶ added in v1.13.0
func (g *GetCommits) Offset(offset int) error
Offset skips over a number of commits
func (*GetCommits) Scan ¶ added in v1.13.0
func (g *GetCommits) Scan() bool
Scan indicates whether or not there are more commits to return
Source Files ¶
- between.go
- commit_messages.go
- commit_signatures.go
- commits_by_message.go
- commits_helper.go
- count_commits.go
- extractsignature.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_commits_by_oid.go
- list_files.go
- list_last_commits_for_tree.go
- raw_blame.go
- server.go
- stats.go
- tree_entries.go
- tree_entries_helper.go
- tree_entry.go
- util.go
Click to show internal directories.
Click to hide internal directories.