diff options
Diffstat (limited to 'lib/public/Encryption/IFile.php')
-rw-r--r-- | lib/public/Encryption/IFile.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/public/Encryption/IFile.php b/lib/public/Encryption/IFile.php new file mode 100644 index 00000000000..ca8783290e3 --- /dev/null +++ b/lib/public/Encryption/IFile.php @@ -0,0 +1,24 @@ +<?php + +/** + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-only + */ +namespace OCP\Encryption; + +/** + * Interface IFile + * + * @since 8.1.0 + */ +interface IFile { + /** + * get list of users with access to the file + * + * @param string $path to the file + * @return array + * @since 8.1.0 + */ + public function getAccessList($path); +} |