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

Method RawHeader

commit.go:57–61  ·  view source on GitHub ↗

RawHeader gets the full raw text of the commit header.

()

Source from the content-addressed store, hash-verified

55
56// RawHeader gets the full raw text of the commit header.
57func (c *Commit) RawHeader() string {
58 ret := C.GoString(C.git_commit_raw_header(c.cast_ptr))
59 runtime.KeepAlive(c)
60 return ret
61}
62
63// ContentToSign returns the content that will be passed to a signing function for this commit
64func (c *Commit) ContentToSign() string {

Callers 1

ContentToSignMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected