NAME

Git::Wrapper::Plus::Ref::Tag - A single tag object

VERSION

version 0.004011

SYNOPSIS

use Git::Wrapper::Plus::Ref::Tag;
my $t = Git::Wrapper::Plus::Ref::Tag->new(
    git => $git,
    name => '1.2',
);
$t->name # '1.2'
$t->refname # 'refs/tags/1.2'
$t->verify # git tag -v 1.2
$t->delete # git tag -d 1.2

METHODS

new_from_Ref

Convert a Plus::Ref to a Plus::Ref::Tag

my $tag = $class->new_from_Ref( $ref );

refname

Returns name, in the form refs/tags/<name>

verify

delete

ATTRIBUTES

name

git

AUTHOR

Kent Fredric <kentnl@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Kent Fredric <kentfredric@gmail.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.