(n uint)
| 177 | } |
| 178 | |
| 179 | func (c *Commit) ParentId(n uint) *Oid { |
| 180 | ret := newOidFromC(C.git_commit_parent_id(c.cast_ptr, C.uint(n))) |
| 181 | runtime.KeepAlive(c) |
| 182 | return ret |
| 183 | } |
| 184 | |
| 185 | func (c *Commit) ParentCount() uint { |
| 186 | ret := uint(C.git_commit_parentcount(c.cast_ptr)) |
nothing calls this directly
no test coverage detected