Kent Fredric > Git-PurePerl-Walker > Git::PurePerl::Walker::Role::OnCommit

Download:
Git-PurePerl-Walker-0.004000.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.004000   Source  

NAME ^

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

VERSION ^

version 0.004000

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) 2014 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.

syntax highlighting: