crash.software
Projects
Pull Requests
Issues
Builds
scorecard
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
scorecard
Files
🤬
Sign In
8966abdc
ROOT
/
clients
/
git
/
client.go
Search
History
210 lines
|
ISO-8859-1
|
5 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
repoDir
errNilCommitFound
errEmptyQuery
Client
gitRepo
:
*git.Repository
worktree
:
*git.Worktree
listCommits
:
*sync.Once
tempDir
:
string
errListCommits
:
error
commits
:
[]clients.Commit
commitDepth
:
int
*Client
InitRepo
(uri, commitSHA string, commitDepth int)
:
error
ListCommits
()
:
([]clients.Commit, error)
Search
(request clients.SearchRequest)
:
(clients.SearchResponse, error)
SearchCommits
(request clients.SearchCommitsOptions)
:
([]clients.Commit, error)
ListFiles
(predicate func(string) (bool, error))
:
([]string, error)
GetFileContent
(filename string)
:
([]byte, error)
Close
()
:
error
All occurrences
Please wait...
Page is in error, reload to recover