Scroll to navigation

Git::Raw::Filter::List(3pm) User Contributed Perl Documentation Git::Raw::Filter::List(3pm)

NAME

Git::Raw::Filter::List - Git filter list class

VERSION

version 0.90

DESCRIPTION

A "Git::Raw::Filter::List" represents a Git filter list.

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

METHODS

load( $repo, $path, $mode )

Load the filter list for a given $path. See "Git::Raw::Filter::Source->mode()" for possible value of $mode.

apply_to_blob( $blob )

Apply the filter list to $blob. Returns a string containing the filtered content.

apply_to_data( $data )

Apply the filter list to $data. Returns a string containing the filtered content.

apply_to_file( $path )

Apply the filter list to the file specified by $path. Returns a string containing the filtered content.

AUTHOR

Jacques Germishuys <jacquesg@cpan.org>

LICENSE AND COPYRIGHT

Copyright 2014 Jacques Germishuys.

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.

2024-10-14 perl v5.40.0