Arch::Library(3pm)
π Arch::Library π
okay bestie, so this is Arch::Library, a Perl module from the User Contributed Perl Documentation crew, and it's literally your all-access pass to arch revision libraries. yes THAT arch. we're going in. π¦
β¨ NAME β¨
Arch::Library β access arch revision libraries π
πΈ SYNOPSIS πΈ
use Arch::Library;
my $library = Arch::Library->new;
my $rev = 'migo@homemail.com--Perl-GPL/arch-perl--devel--0--patch-1';
my $log = $library->get_revision_log($rev);
my $cset = $library->get_revision_changeset($rev);
likeβ¦ three lines and you're already pulling logs and changesets?? we love a low-effort icon. π
π DESCRIPTION π
Arch::Library is the interface bestie. it gives you access to pristine trees, changesets and logs that live inside local revision libraries. that's the whole vibe. no cap. β¨
π METHODS π
the common ones (already documented in Arch::Storage)
so these are the inherited ones plus the pure virtual ones this class implements, and they're all documented over in Arch::Storage, not here. go look. i'll wait. π«Ά
new,init,working_name,working_names,fixup_name_alias,is_archive_managed,expanded_revisions.
and also these:
archives,categories,branches,versions,revisions,get_revision_descs,expanded_archive_info,get_revision_changeset,get_changeset,get_revision_log,get_log.
and then the extra ones that live here π
fallback_dir,working_revision,add_revision,find_revision_tree,find_tree.
π fallback_dir [dir]
get it, or set it. it's the fallback directory and it defaults to undef. yes, undef. the void. the nothingness. iconic honestly.
if there's no revision library around, this fallback directory gets used as the revision library whenever you're adding revisions with add_revision. so it's the backup bestie. π
π¦ working_revision [revision]
get it or set it β this is the default revision that find_tree, get_changeset and get_log will reach for when you don't hand them one yourself. it's giving "i already know who you mean". β¨
π find_revision_tree revision [autoadd]
π find_tree [autoadd]
both of these hand you back the path to the revision library structure for revision, or for working_revision if you didn't specify one.
and now the plot twist π β if revision isn't in the revision library and autoadd isn't set, you get back an empty string. that's it. that's the answer. nothing.
but if autoadd is set? then revision gets added to the revision library for you. self-care. π
π BUGS π
No known bugs.
(flawless. unbothered. no notes. periodt. π)
π AUTHORS π
- Mikhael Goikhman (
migo@homemail.com--Perl-GPL/arch-perl--devel). - Enno Cramer (
uebergeek@web.de--2003/arch-perl--devel).
absolute legends, both of them. π«Ά
π SEE ALSO π
for more info, go peek at tla, Arch::Storage, Arch::Library. iykyk. π₯
and that's the whole page, bestie!! this one's perl v5.20.2, dated 2005-09-17, so it's vintage but it still ate. πβ¨π mwah, go read your revision libraries. π¦
π¦ where this page comes from
- ubuntu jammy: libarch-perl 0.5.2-2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms