MCPcopy Index your code
hub / github.com/git-bug/git-bug / StoreCommit

Method StoreCommit

repository/repo.go:161–161  ·  view source on GitHub ↗

StoreCommit will store a Git commit with the given Git tree

(treeHash Hash, parents ...Hash)

Source from the content-addressed store, hash-verified

159
160 // StoreCommit will store a Git commit with the given Git tree
161 StoreCommit(treeHash Hash, parents ...Hash) (Hash, error)
162
163 // StoreSignedCommit will store a Git commit with the given Git tree. If signKey is not nil, the commit
164 // will be signed accordingly.

Callers 3

RepoDataTestFunction · 0.65
CommitMethod · 0.65
WriteMethod · 0.65

Implementers 2

mockRepoDatarepository/mock_repo.go
GoGitReporepository/gogit.go

Calls

no outgoing calls

Tested by

no test coverage detected