logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Alessandro Ghedini <alexbio@cpan.org>

       Jacques Germishuys <jacquesg@cpan.org>

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.

Name

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

Version

       version 0.90

See Also