MCPcopy Create free account
hub / github.com/libgit2/git2go / Message

Method Message

commit.go:34–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32}
33
34func (c *Commit) Message() string {
35 ret := C.GoString(C.git_commit_message(c.cast_ptr))
36 runtime.KeepAlive(c)
37 return ret
38}
39
40func (c *Commit) MessageEncoding() MessageEncoding {
41 ptr := C.git_commit_message_encoding(c.cast_ptr)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected