ID returns the object ID of the commit. The returned value will always match the current value of Commit.Hash. ID is present to fulfill the Object interface.
()
| 172 | // |
| 173 | // ID is present to fulfill the Object interface. |
| 174 | func (c *Commit) ID() plumbing.Hash { |
| 175 | return c.Hash |
| 176 | } |
| 177 | |
| 178 | // Type returns the type of object. It always returns plumbing.CommitObject. |
| 179 | // |
nothing calls this directly
no outgoing calls
no test coverage detected