summaryrefslogtreecommitdiffstats
path: root/lib/public/Files/Notify/IChange.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Files/Notify/IChange.php')
-rw-r--r--lib/public/Files/Notify/IChange.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/public/Files/Notify/IChange.php b/lib/public/Files/Notify/IChange.php
index 09d9500a3de..1e6aaa8abe0 100644
--- a/lib/public/Files/Notify/IChange.php
+++ b/lib/public/Files/Notify/IChange.php
@@ -23,6 +23,11 @@
namespace OCP\Files\Notify;
+/**
+ * Represents a detected change in the storage
+ *
+ * @since 12.0.0
+ */
interface IChange {
const ADDED = 1;
const REMOVED = 2;
@@ -33,6 +38,8 @@ interface IChange {
* Get the type of the change
*
* @return int IChange::ADDED, IChange::REMOVED, IChange::MODIFIED or IChange::RENAMED
+ *
+ * @since 12.0.0
*/
public function getType();
@@ -42,6 +49,8 @@ interface IChange {
* Note, for rename changes this path is the old path for the file
*
* @return mixed
+ *
+ * @since 12.0.0
*/
public function getPath();
}