Fork me on GitHub
nodegit by tbranyen & faceleg

Reference

new Reference(rawRepo, rawReference)

Convenience reference constructor.
Parameters:
Name Type Description
rawRepo git.raw.Repo
rawReference git.raw.Reference | null
Source:

Methods

lookup(name, callback)

Lookup the reference with the given name.
Parameters:
Name Type Description
name String
callback Function
Source:

oid(callback)

Get the Oid representing this reference.
Parameters:
Name Type Description
callback Function
Source: