()
| 48 | } |
| 49 | |
| 50 | func (c *Commit) RawMessage() string { |
| 51 | ret := C.GoString(C.git_commit_message_raw(c.cast_ptr)) |
| 52 | runtime.KeepAlive(c) |
| 53 | return ret |
| 54 | } |
| 55 | |
| 56 | // RawHeader gets the full raw text of the commit header. |
| 57 | func (c *Commit) RawHeader() string { |