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

πŸ’– NAME πŸ’–

okay so bestie, this is Git::Raw::Indexer β€” it's the Git indexer class from the Perl docs, and yes she's kinda niche but she's lowkey iconic. πŸ’…


✨ VERSION ✨

version 0.90 β€” periodt. that's the one we're on. πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

fr fr, a Git::Raw::Indexer represents a git indexer object. that's the whole vibe. she's a little object whose entire main character energy is being The Indexer. 🌸


πŸ‘‘ METHODS πŸ‘‘

🌈 new( $directory, $odb )

Create a new indexer, bestie. $directory is the directory where the packfile and index should be stored β€” like, that's her home, that's where she keeps her stuff, don't move her. 🏠✨

πŸ’œ append( $data, $progress )

Add $data to the indexer. βœ”οΈ and $progress should be a Git::Raw::TransferProgress object β€” that's your lil progress-tracking bestie tagging along, you're not doing this alone. 🫢

πŸ”₯ commit( $progress )

Finalize the pack and index!! This will resolve any pending deltas and write out the index file β€” so like, everything that was hanging in limbo gets sorted and the index file actually gets written. $progress should be a Git::Raw::TransferProgress object. 🌟

πŸŽ€ hash( )

Retrieve the packfile's hash. ngl this one's a little funny β€” a packfile's name is derived from the sorted hashing of all object names, so this is only correct after the index has been finalized. 🚨 like, do not come for her before commit, she will not have her life together yet. no cap.


🌸 AUTHOR 🌸

Jacques Germishuys <jacquesg@cpan.org> β€” the icon, the legend, the author. πŸ‘‘


Copyright 2016 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. 🌈


okay bestie that's the whole page, we ate and left no crumbs πŸ’… β€” this was served to you by perl v5.42.3, dated 2026-08-19, and she's still out here being Git::R...Indexer(3pm). mwah 🫢✨

πŸ“¦ where this page comes from