summaryrefslogtreecommitdiffstats
path: root/lib/filesystem.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-02-05 01:25:36 +0100
committerRobin Appelman <icewind@owncloud.com>2012-02-05 03:06:33 +0100
commit25e777ef5e9c68ac45d32b71a0174febf74d47ef (patch)
treec0c10ced9df0fc9555cdd98c30ca49b216ff5068 /lib/filesystem.php
parent0bb48d814bff0cfba0606818b36599c000b16a51 (diff)
downloadnextcloud-server-25e777ef5e9c68ac45d32b71a0174febf74d47ef.tar.gz
nextcloud-server-25e777ef5e9c68ac45d32b71a0174febf74d47ef.zip
watch for changes outside owncloud to the files
Diffstat (limited to 'lib/filesystem.php')
-rw-r--r--lib/filesystem.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/filesystem.php b/lib/filesystem.php
index 5062ecf5c18..8e55575e665 100644
--- a/lib/filesystem.php
+++ b/lib/filesystem.php
@@ -203,6 +203,14 @@ class OC_Filesystem{
self::$defaultInstance=new OC_FilesystemView($root);
self::$loaded=true;
}
+
+ /**
+ * get the default filesystem view
+ * @return OC_FilesystemView
+ */
+ static public function getView(){
+ return self::$defaultInstance;
+ }
/**
* tear down the filesystem, removing all storage providers