ResolveRef returns the hash of the target commit of the given ref Returns ErrNotFound if not found.
(ref string)
| 171 | // ResolveRef returns the hash of the target commit of the given ref |
| 172 | // Returns ErrNotFound if not found. |
| 173 | ResolveRef(ref string) (Hash, error) |
| 174 | |
| 175 | // UpdateRef will create or update a Git reference |
| 176 | UpdateRef(ref string, hash Hash) error |
no outgoing calls