Scroll to navigation

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


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


version 0.79


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


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.


Alessandro Ghedini <>

Jacques Germishuys <>


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 for more information.

2019-01-12 perl v5.28.1