1SVK::Path(3)          User Contributed Perl Documentation         SVK::Path(3)
2
3
4

NAME

6       SVK::Path - SVK path class
7

SYNOPSIS

9        See below
10

DESCRIPTION

12       The class represents a node in svk depot.
13
14   root
15       Returns the root representing the file system of the revision at the
16       anchor.  Give optional pool (null to use default), otherwise use the
17       internal root of the path object.  Be careful if you are using the root
18       object but not keeping the path object.
19
20   same_repos
21       Returns true if all @other targets are from the same repository as this
22       one.
23
24   same_source
25       Returns true if all @other targets are mirrored from the same source
26
27   is_mirrored
28       Returns the mirror object if the path is mirrored.  Returns additional
29       path component if used in array context.
30
31   normalize
32       Normalize the revision to the last changed one.
33
34   as_depotpath
35       Makes target depotpath. Takes $revision number optionally.
36
37   path
38       Returns the full path of the target even if anchorified.
39
40   descend
41       Makes target descend into $entry
42
43   universal
44       Returns corresponding SVK::Target::Universal object.
45
46   depotpath
47       Returns depotpath of the target
48
49   copy_ancestors
50       Returns a list of "(path, rev)" pairs, which are ancestors of the
51       current node.
52
53   nearest_copy(root, path, [pool])
54       given a root object (or a target) and a path, returns the revision root
55       where it's ancestor is from another path, and ancestor's root and path.
56
57   related_to
58       Check if $self is related to another target.
59
60   copied_from ($want_mirror)
61       Return the nearest copy target that still exists.  If $want_mirror is
62       true, only return one that was mirrored from somewhere.
63
64   $self->seek_to($revision)
65       Return the "SVK::Path" object that $self is at $revision.  Note that we
66       don't have forward tracing, so if <$revision is greater than
67       "$self-"revision>, a "SVK::Path" at <$revision> will be returned.  In
68       other words, assuming "foo@N" for "-r N foo@M" when N > M.
69

as_url($local_only, [ $path, $rev ])

71       Returns (url, revision) pair.
72
73   node_id ()
74       Returns the node id of this path object.
75

SEE ALSO

77       SVK::Path::Checkout
78
79
80
81perl v5.34.0                      2021-07-22                      SVK::Path(3)
Impressum