MCPcopy Create free account
hub / github.com/go-git/go-git / commit

Method commit

plumbing/object/object_test.go:44–48  ·  view source on GitHub ↗
(c *C, h plumbing.Hash)

Source from the content-addressed store, hash-verified

42}
43
44func (s *BaseObjectsSuite) commit(c *C, h plumbing.Hash) *Commit {
45 commit, err := GetCommit(s.Storer, h)
46 c.Assert(err, IsNil)
47 return commit
48}
49
50type ObjectsSuite struct {
51 BaseObjectsSuite

Calls 1

GetCommitFunction · 0.85

Tested by

no test coverage detected