IRenameChange.php 433 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-License-Identifier: AGPL-3.0-or-later
  5. */
  6. namespace OCP\Files\Notify;
  7. /**
  8. * Represents a detected rename change
  9. *
  10. * @since 12.0.0
  11. */
  12. interface IRenameChange extends IChange {
  13. /**
  14. * Get the new path of the renamed file relative to the storage root
  15. *
  16. * @return string
  17. *
  18. * @since 12.0.0
  19. */
  20. public function getTargetPath();
  21. }