Tree returns the Tree from the commit.
()
| 143 | |
| 144 | // Tree returns the Tree from the commit. |
| 145 | func (c *Commit) Tree() (*Tree, error) { |
| 146 | return GetTree(c.s, c.TreeHash) |
| 147 | } |
| 148 | |
| 149 | // PatchContext returns the Patch between the actual commit and the provided one. |
| 150 | // Error will be return if context expires. Provided context must be non-nil. |