aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/files/mount/imountpoint.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-12-16 13:33:58 +0100
committerRobin Appelman <icewind@owncloud.com>2014-12-17 14:03:50 +0100
commit95a145f67f037d5b91ecebc33deaefbb4af96a79 (patch)
tree71214adb6ed3fb1a4185d4cd072ddaa7abaf97fd /lib/public/files/mount/imountpoint.php
parent532ba99f1ccc092dc5ddfbc15b70a027bca3e558 (diff)
downloadnextcloud-server-95a145f67f037d5b91ecebc33deaefbb4af96a79.tar.gz
nextcloud-server-95a145f67f037d5b91ecebc33deaefbb4af96a79.zip
Load mount specific options from the mount config
Diffstat (limited to 'lib/public/files/mount/imountpoint.php')
-rw-r--r--lib/public/files/mount/imountpoint.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/public/files/mount/imountpoint.php b/lib/public/files/mount/imountpoint.php
index dac634bae4c..af7819ae160 100644
--- a/lib/public/files/mount/imountpoint.php
+++ b/lib/public/files/mount/imountpoint.php
@@ -55,4 +55,13 @@ interface IMountPoint {
* @param callable $wrapper
*/
public function wrapStorage($wrapper);
+
+ /**
+ * Get a mount option
+ *
+ * @param string $name Name of the mount option to get
+ * @param mixed $default Default value for the mount option
+ * @return mixed
+ */
+ public function getOption($name, $default);
}