NAME

Dist::Zilla::Role::Git::LocalRepository::LocalBranches - Enumerate all available local branches as branch ↔ SHA1 mappings.

VERSION

version 0.2.0

PARAMETERS

local_branches

METHODS

local_branches

Returns a map from git of

{ branch_name => SHA1 }

COMPOSITION

Recommended application order if using this role:

with "Dist::Zilla::Role::Plugin";
with "Dist::Zilla::Role::Git::LocalRepository";
with "Dist::Zilla::Role::Git::LocalRepository::LocalBranches";

REQUIRED METHODS

git

Must be a Git::Wrapper instance.

Suggests Dist::Zilla::Role::Git::LocalRepository

PRIVATE METHODS

_build_local_branches

Builder for "local_branches"

AUTHOR

Kent Fredric <kentnl@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Kent Fredric <kentnl@cpan.org>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.