IFile.php 446 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
  5. * SPDX-License-Identifier: AGPL-3.0-only
  6. */
  7. namespace OCP\Encryption;
  8. /**
  9. * Interface IFile
  10. *
  11. * @since 8.1.0
  12. */
  13. interface IFile {
  14. /**
  15. * get list of users with access to the file
  16. *
  17. * @param string $path to the file
  18. * @return array
  19. * @since 8.1.0
  20. */
  21. public function getAccessList($path);
  22. }