aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Files/Notify/IRenameChange.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Files/Notify/IRenameChange.php')
-rw-r--r--lib/public/Files/Notify/IRenameChange.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/public/Files/Notify/IRenameChange.php b/lib/public/Files/Notify/IRenameChange.php
new file mode 100644
index 00000000000..b1bfae5fc00
--- /dev/null
+++ b/lib/public/Files/Notify/IRenameChange.php
@@ -0,0 +1,23 @@
+<?php
+
+/**
+ * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+namespace OCP\Files\Notify;
+
+/**
+ * Represents a detected rename change
+ *
+ * @since 12.0.0
+ */
+interface IRenameChange extends IChange {
+ /**
+ * Get the new path of the renamed file relative to the storage root
+ *
+ * @return string
+ *
+ * @since 12.0.0
+ */
+ public function getTargetPath();
+}