1
0

IRootMountProvider.php 473 B

123456789101112131415161718192021222324
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCP\Files\Config;
  8. use OCP\Files\Storage\IStorageFactory;
  9. /**
  10. * @since 20.0.0
  11. */
  12. interface IRootMountProvider {
  13. /**
  14. * Get all root mountpoints of this provider
  15. *
  16. * @return \OCP\Files\Mount\IMountPoint[]
  17. * @since 20.0.0
  18. */
  19. public function getRootMounts(IStorageFactory $loader): array;
  20. }