Chia-liang Kao (高嘉良) > SVK-v2.0.1 > SVK::Inspector

Download:
SVK-v2.0.1.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  57
Open  12
View/Report Bugs
Source   Latest Release: SVK-v2.2.3

NAME ^

SVK::Inspector - path inspector

DESCRIPTION ^

This class provides an interface through which the state of a SVK::Path can be inspected.

METHODS ^

exist

Check if the given path exists.

rev

Check the revision of the given path.

localmod

Called when the merger needs to retrieve the local modification of a file. Return an arrayref of filename, filehandle, and md5. Return undef if there is no local modification.

localprop

Called when the merger needs to retrieve the local modification of a property. Return the property value.

prop_merged

Called when properties are merged without changes, that is, the g status.

dirdelta

When delete_entry needs to check if everything to be deleted does not cause conflict on the directory, it calls the callback with path, base_root, and base_path. The returned value should be a hash with changed paths being the keys and change types being the values.

syntax highlighting: