summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-12-16 14:24:48 +0100
committerRobin Appelman <icewind@owncloud.com>2014-12-17 14:03:50 +0100
commitfd854247423de0d74b05b44bf16572d2be943819 (patch)
tree9c51dd102bc2f5f318e6081a23e93dd1164b6548 /lib/public
parent95a145f67f037d5b91ecebc33deaefbb4af96a79 (diff)
downloadnextcloud-server-fd854247423de0d74b05b44bf16572d2be943819.tar.gz
nextcloud-server-fd854247423de0d74b05b44bf16572d2be943819.zip
Add getMountPoint to FileInfo
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/files/fileinfo.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/public/files/fileinfo.php b/lib/public/files/fileinfo.php
index 3a407ed67ca..ec68ed475c5 100644
--- a/lib/public/files/fileinfo.php
+++ b/lib/public/files/fileinfo.php
@@ -169,4 +169,11 @@ interface FileInfo {
* @return bool
*/
public function isMounted();
+
+ /**
+ * Get the mountpoint the file belongs to
+ *
+ * @return \OCP\Files\Mount\IMountPoint
+ */
+ public function getMountPoint();
}