aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/WorkflowEngine/IFileCheck.php
blob: c26c4d9fcefddd154868170f82fa1ceaf51d8e6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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;
}