-
Notifications
You must be signed in to change notification settings - Fork 699
Closed
Description
Hey.
I just followed an example from example/general.js and tried to list all references of my repository. But the reference object, which is passed to my callback, is missing the methods .isOid() and .oid()
Here's the relevant except:
repo.getReference(referenceName, function(error, reference) {
if (error) throw error;
if (reference.isOid()) {
console.log("Reference:", referenceName, reference.oid());
} else if (reference.isSymbolic()) {
console.log("Reference:", referenceName, reference.symbolicTarget());
}
});
I have tried this with the latest release from npm registry and also with a fresh master clone. Same issues on both versions.
My configuration:
Node.js v0.10.0
nodegit v0.1.0
Mac OSX 10.8.5
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels