godoc
This commit is contained in:
parent
971e18b585
commit
051b9cd7b0
|
@ -40,6 +40,7 @@ func (c *Commit) RawMessage() string {
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// RawHeader gets the full raw text of the commit header.
|
||||||
func (c *Commit) RawHeader() string {
|
func (c *Commit) RawHeader() string {
|
||||||
ret := C.GoString(C.git_commit_raw_header(c.cast_ptr))
|
ret := C.GoString(C.git_commit_raw_header(c.cast_ptr))
|
||||||
runtime.KeepAlive(c)
|
runtime.KeepAlive(c)
|
||||||
|
|
Loading…
Reference in New Issue