Add Is$Type methods to Reference. #55

Merged
lye merged 1 commits from add-is-x-reference-methods into master 2014-02-23 08:43:02 -06:00
lye commented 2014-02-20 00:29:39 -06:00 (Migrated from github.com)

This patch adds the following methods to Reference:

IsBranch() bool
IsRemote() bool
IsTag() bool

which correspond to the git_reference_is_$type functions in libgit2.

This patch adds the following methods to Reference: ``` IsBranch() bool IsRemote() bool IsTag() bool ``` which correspond to the `git_reference_is_$type` functions in libgit2.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: jcarr/git2go#55
No description provided.