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

1 Commits

Author SHA1 Message Date
lye 53b5ecacbe Add Is$Type methods to Reference.
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.
2014-02-20 00:28:31 -06:00