Tree returns the Tree from the commit.
()
| 89 | |
| 90 | // Tree returns the Tree from the commit. |
| 91 | func (c *Commit) Tree() (*Tree, error) { |
| 92 | return GetTree(c.s, c.TreeHash) |
| 93 | } |
| 94 | |
| 95 | // PatchContext returns the Patch between the actual commit and the provided one. |
| 96 | // Error will be return if context expires. Provided context must be non-nil. |