Git::R...Source(3pm)

✨ Git::Raw::Filter::Source β€” the filter source class, bestie ✨

okay so this is a User Contributed Perl Documentation page, section 3pm, and it's all about Git::Raw::Filter::Source πŸ’… stay with me, it's short and it's giving iconic.


🌸 VERSION 🌸

version 0.90 β€” yeah she's on 0.90, no cap.


πŸ¦‹ DESCRIPTION πŸ¦‹

A Git::Raw::Filter::Source represents a Git filter source. that's it, that's the whole vibe. she's a little object that holds the deets about where filter data is coming from and where it's headed 🫢

WARNING: the API of this module is unstable and may change without warning. not me being dramatic, that's literally what it says 😭 any change will be appropriately documented in the changelog, so at least she's honest about it.

πŸ‘‘ METHODS πŸ‘‘

id( )

Retrieve the id of the filter source, as a string. just the id, as a string, that's it πŸŽ€

path( )

Retrieve the path that the filter source data is coming from. so, like, where the data lives πŸ“

file_mode( )

Retrieve the file mode of the source file, as an integer. important: if the mode is unknown, this will return 0. so a 0 is not a real mode, it's the "idk bestie" signal πŸ™ˆ

mode( )

Retrieve the mode to be applied. the possible values include:

  • "to_worktree" β€” the file is being exported from the Git object database to the working directory. data's leaving the ODB and moving into your worktree, slay ✨
  • "to_odb" β€” the file is being import from the working directory to the Git object database. going the other direction: worktree ➑️ object database πŸ”₯
tiny note: yes, "being import" is exactly how it's written, and I am not fixing it. character for character, periodt πŸ’œ

πŸ’œ AUTHOR πŸ’œ

  • Alessandro Ghedini <alexbio@cpan.org>
  • Jacques Germishuys <jacquesg@cpan.org>

two absolute legends, we stan 🫢


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.


and that's the whole page bestie, you ate it πŸ’…

this lil tour was brought to you by perl v5.42.3, dated 2026-08-19 β€” mwah, see you in the next manpage πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from