Git::Wrapper::Plus::Ref - An Abstract REF node
use Git::Wrapper::Plus::Ref; my $instance = Git::Wrapper::Plus::Ref->new( git => $git_wrapper, name => "refs/heads/foo" ); $instance->refname # refs/heads/foo $instance->name # refs/heads/foo $instance->sha1 # deadbeefbadf00da55c0ffee
Return the fully qualified ref name for this object.
This exists so that
name can be made specialized in a subclass, for instance, a
branch may have
refname will be overloaded to return
This is then used by the
sha1 method to resolve the
ref name to a
SHA1 resolving for
REQUIRED: The user friendly name for this
Git::Wrapper compatible object for resolving
Kent Fredric <firstname.lastname@example.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Kent Fredric <email@example.com>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.