Scroll to navigation

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

NAME

Git::Raw::Filter::Source - Git filter source class

VERSION

version 0.79

DESCRIPTION

A "Git::Raw::Filter::Source" represents a Git filter source.

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

METHODS

id( )

Retrieve the id of the filter source as a string.

path( )

Retrieve the path that the filter source data is coming from.

file_mode( )

Retrieve the file mode of the source file, as an integer. If the mode is unknown, this will return 0.

mode( )

Retrieve the mode to be applied. Possible values include:

  • "to_worktree"

    The file is being exported from the Git object database to the working directory.

  • "to_odb"

    The file is being import from the working directory to the Git object database.

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.

2018-05-15 perl v5.26.2