Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ Commits
Method
Commits
pkg/search/searcher.go:31–31 ·
view source on GitHub ↗
(Query)
Source
from the content-addressed store, hash-verified
29
type
Searcher
interface
{
30
Code(Query) (CodeResult, error)
31
Commits(Query) (CommitsResult, error)
32
Repositories(Query) (RepositoriesResult, error)
33
Issues(Query) (IssuesResult, error)
34
URL(Query) string
Callers
8
TestSearcherCommits
Function · 0.95
TestClientCommitsReturnsCommitMetadata
Function · 0.65
TestClientCommitsReportsNoCommitsBetweenRefs
Function · 0.65
TestClientCommitsExcludesBaseSideCommits
Function · 0.65
TestClientCommitsReturnsOnlyOrdinaryFeatureSideCommits
Function · 0.65
TestClientCommitsReportsInvalidRef
Function · 0.65
commitsRun
Function · 0.65
initDefaultTitleBody
Function · 0.65
Implementers
2
searcher
pkg/search/searcher.go
SearcherMock
pkg/search/searcher_mock.go
Calls
no outgoing calls
Tested by
6
TestSearcherCommits
Function · 0.76
TestClientCommitsReturnsCommitMetadata
Function · 0.52
TestClientCommitsReportsNoCommitsBetweenRefs
Function · 0.52
TestClientCommitsExcludesBaseSideCommits
Function · 0.52
TestClientCommitsReturnsOnlyOrdinaryFeatureSideCommits
Function · 0.52
TestClientCommitsReportsInvalidRef
Function · 0.52