SVK::Path(3)
π¦ SVK::Path β the manual page, bestie edition
okay so real talk: this is SVK::Path(3), a User Contributed Perl Documentation page, and it's literally the glow-up guide to the SVK path class. grab a strawberry smoothie π and let's get into it.
π NAME
SVK::Path β the SVK path class. that's it, that's the name, iconic behavior only π
β¨ SYNOPSIS
See below
yes bestie, "see below" is the whole synopsis. the docs said figure it out from the rest of the page and honestly? respect. π
πΈ DESCRIPTION
The class represents a node in svk depot. that's the whole vibe: one class, one node in the depot, main character energy.
π root
Returns the root representing the file system of the revision at the anchor.
Give optional pool (null to use default), otherwise use the internal root of the path object.
β οΈ Be careful if you are using the root object but not keeping the path object. like, do NOT let the path object ghost you while you're still holding the root, that's the trap π
π same_repos
Returns true if all @other targets are from the same repository as this one. yes queen, same repo check, fr fr.
π same_source
Returns true if all @other targets are mirrored from the same source.
π is_mirrored
Returns the mirror object if the path is mirrored. Returns additional path component if used in array context.
π normalize
Normalize the revision to the last changed one. glow-up for your revision number β¨
π as_depotpath
Makes target depotpath. Takes $revision number optionally.
π path
Returns the full path of the target even if anchorified. anchorified? still getting the full path. no crumbs left behind π«Ά
π descend
Makes target descend into $entry.
π universal
Returns corresponding SVK::Target::Universal object.
π depotpath
Returns depotpath of the target.
π copy_ancestors
Returns a list of (path, rev) pairs, which are ancestors of the current node. it's giving family tree, but make it revisions π
π nearest_copy(root, path, [pool])
given a root object (or a target) and a path, returns the revision root where it's ancestor is from another path, and ancestor's root and path.
π related_to
Check if $self is related to another target. are they related? vibe check time π
π copied_from ($want_mirror)
Return the nearest copy target that still exists. If $want_mirror is true, only return one that was mirrored from somewhere.
π $self->seek_to($revision)
Return the SVK::Path object that $self is at $revision.
Note that we don't have forward tracing, so if <$revision is greater than "$self-"revision>, a SVK::Path at <$revision> will be returned. In other words, assuming "foo@N" for "-r N foo@M" when N > M.
π no forward tracing bestie, so don't come for it expecting time travel forward. it does what it does.
π as_url($local_only, [ $path, $rev ])
Returns (url, revision) pair. two-for-one, we love a bundle deal π
π node_id ()
Returns the node id of this path object.
π SEE ALSO
SVK::Path::Checkout β go read that one next, iykyk.
and that's the page, bestie!! this was perl v5.42.0, dated 2025-07-25, and it's the SVK::Path(3) manual β slay, ate, no crumbs, 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