---
name: "SVK::Inspector"
section: "3pm"
platform: "linux"
package: "svk"
version: "2.0.2-3"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/SVK::Inspector"
---

# SVK::Inspector(3pm)

path inspector

## 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.
