aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/WorkflowEngine/IFileCheck.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/WorkflowEngine/IFileCheck.php')
-rw-r--r--lib/public/WorkflowEngine/IFileCheck.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/public/WorkflowEngine/IFileCheck.php b/lib/public/WorkflowEngine/IFileCheck.php
new file mode 100644
index 00000000000..c26c4d9fcef
--- /dev/null
+++ b/lib/public/WorkflowEngine/IFileCheck.php
@@ -0,0 +1,26 @@
+<?php
+
+declare(strict_types=1);
+
+/**
+ * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+namespace OCP\WorkflowEngine;
+
+use OCP\Files\Storage\IStorage;
+
+/**
+ * Interface IFileCheck
+ *
+ * @since 18.0.0
+ */
+interface IFileCheck extends IEntityCheck {
+ /**
+ * @param IStorage $storage
+ * @param string $path
+ * @param bool $isDir
+ * @since 18.0.0
+ */
+ public function setFileInfo(IStorage $storage, string $path, bool $isDir = false): void;
+}