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

Method StoreSignedCommit

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

StoreSignedCommit will store a Git commit with the given Git tree. If signKey is not nil, the commit will be signed accordingly.

(treeHash Hash, signKey *openpgp.Entity, parents ...Hash)

Source from the content-addressed store, hash-verified

163 // StoreSignedCommit will store a Git commit with the given Git tree. If signKey is not nil, the commit
164 // will be signed accordingly.
165 StoreSignedCommit(treeHash Hash, signKey *openpgp.Entity, parents ...Hash) (Hash, error)
166
167 // ReadCommit read a Git commit and returns some of its characteristic
168 // Returns ErrNotFound if not found.

Callers 2

RepoDataSignatureTestFunction · 0.65
WriteMethod · 0.65

Implementers 2

mockRepoDatarepository/mock_repo.go
GoGitReporepository/gogit.go

Calls

no outgoing calls

Tested by

no test coverage detected