The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Git::PurePerl::Walker::Role::OnCommit - An event to execute when a commit is encountered

VERSION

version 0.004001

REQUIRES METHODS

handle

This is the primary event that is triggered when every commit is processed.

handle is passed a Git::PurePerl::Object::Commit for you to do something with.

        $object->handle( $commit )

reset

This method is signaled when the associated repository is resetting its iteration.

You can either no-op this, or make it do something useful.

INHERITED METHODS

for_repository

Git::PurePerl::Walker::Role::HasRepo->for_repository( $repo )

clone

MooseX::Clone->clone( %params )

_repo

Git::PurePerl::Walker::Role::HasRepo->_repo( $repo )

CONSUMED ROLES

Git::PurePerl::Walker::Role::HasRepo

Git::PurePerl::Walker::Role::HasRepo

AUTHOR

Kent Fredric <kentnl@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 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.