Jacques Germishuys > Git-Raw > Git::Raw::Filter

Download:
Git-Raw-0.48.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.48   Source  

NAME ^

Git::Raw::Filter - Git filter class

VERSION ^

version 0.48

DESCRIPTION ^

A Git::Raw::Filter represents a Git filter.

WARNING: The API of this module is unstable and may change without warning (any change will be appropriately documented in the changelog).

METHODS ^

create( $name, $attributes)

Create a filter. $name is a name by which the filter can be referenced. $attributes is a whitespace-separated list of attribute names to check for this filter (e.g. "eol crlf text"). If the attribute name is bare, it will be simply loaded and passed to the "check" callback. If it has a value (i.e. "name=value"), the attribute must match that value for the filter to be applied.

callbacks( \%callbacks )

Set the callbacks for the filter. %callbacks may specificy the following callbacks.

register( $priority )

Register the filter with priority $priority.

unregister( )

Remove the filter.

AUTHOR ^

Alessandro Ghedini <alexbio@cpan.org>

Jacques Germishuys <jacquesg@striata.com>

LICENSE AND COPYRIGHT ^

Copyright 2014 Alessandro Ghedini.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

syntax highlighting: