SVK::Lo...edPaths(3)
β¨ NAME β¨
SVK::Log::ChangedPaths β a partly lazy list of SVK::Log::ChangedPath objects π¦
Like, it's the girl who could tell you everything about every changed path in a revision... but she's gonna wait until you actually ask, because she's not about to do all that work for nothing. π
πΈ SYNOPSIS πΈ
use SVK::Log::ChangedPaths;
my $changed_paths = SVK::Log::ChangedPaths->new( $root );
for my $changed_path ( $changed_paths->paths() ) {
...
}
π DESCRIPTION π
okay so bestie, listen. An object of this class represents a collection of details about the files/directories that were changed in a particular revision. That's the whole vibe.
Here's the tea tho: some log filters want access to information about which paths were affected during a certain revision, and others genuinely do not care. Not everyone needs the whole lore dump!! So instead of doing all that math upfront for somebody who's never gonna look at it, using this object lets the calculation of path details be postponed until it's truly needed. Lowkey genius. Highkey efficient. β¨
π METHODS π
new
Accepts the return value of SVK::Path->root() as a parameter and constructs a SVK::Log::ChangedPaths object from it. Hand it the root, get the object. Simple as that, no cap. π«Ά
paths
Returns a list of SVK::Log::ChangedPath objects, each of which represents the details of the changes to a particular path. One object per path, all lined up like they're waiting for their turn in the group photo. πΈ
π DIAGNOSTICS π
None
(Not a single error to her name. Iconic behaviour honestly. π)
π§ CONFIGURATION AND ENVIRONMENT π§
SVK::Log::ChangedPaths requires no configuration files or environment variables.
Zero setup, zero drama, she just works. π
π DEPENDENCIES π
SVK::Log::ChangedPath
π INCOMPATIBILITIES π
None known
π BUGS AND LIMITATIONS π
None known
ngl, "None known" is doing a LOT of heavy lifting in those last two sections and I respect it fr fr. π
so yeah, that's the whole page, bestie. It's from the User Contributed Perl Documentation crew, perl v5.42.0, dated 2025-07-25. Go forth and be lazy (the good kind, the postponed-calculation kind). periodt. π
β¨
π¦ where this page comes from
- fedora 43: perl-SVK 2.2.3-45.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms