┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/versioncontrol/kversioncontrolplugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/versioncontrol/kversioncontrolplugin.h')
-rw-r--r--src/views/versioncontrol/kversioncontrolplugin.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/views/versioncontrol/kversioncontrolplugin.h b/src/views/versioncontrol/kversioncontrolplugin.h
index 0de305d14..a8894ac17 100644
--- a/src/views/versioncontrol/kversioncontrolplugin.h
+++ b/src/views/versioncontrol/kversioncontrolplugin.h
@@ -144,6 +144,12 @@ public:
virtual QString fileName() const = 0;
/**
+ * Returns the path of the local repository root for the versionned directory
+ * Returns an emtpy QString when directory is not part of a working copy
+ */
+ virtual QString localRepositoryRoot(const QString& directory) const;
+
+ /**
* Is invoked whenever the version control
* information will get retrieved for the directory
* \p directory. It is assured that the directory