SVK::Lo...edPaths(3)

πŸ“¦
version 2.2.3 Β· 2 versions
, in fedora 43

✨ 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