diff options
Diffstat (limited to 'lib/public/Files/Config/ICachedMountFileInfo.php')
-rw-r--r-- | lib/public/Files/Config/ICachedMountFileInfo.php | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/lib/public/Files/Config/ICachedMountFileInfo.php b/lib/public/Files/Config/ICachedMountFileInfo.php new file mode 100644 index 00000000000..a9b30d8ba6d --- /dev/null +++ b/lib/public/Files/Config/ICachedMountFileInfo.php @@ -0,0 +1,28 @@ +<?php + +/** + * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ +namespace OCP\Files\Config; + +/** + * Holds information about a mount for a user + * + * @since 13.0.0 + */ +interface ICachedMountFileInfo extends ICachedMountInfo { + /** + * Return the path for the file within the cached mount + * + * @return string + * @since 13.0.0 + */ + public function getInternalPath(): string; + + /** + * @return string + * @since 13.0.0 + */ + public function getPath(): string; +} |