summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/files.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/files.php b/lib/files.php
index e6b324f062b..3abc8c4aaf2 100644
--- a/lib/files.php
+++ b/lib/files.php
@@ -28,6 +28,14 @@
class OC_Files {
static $tmpFiles = array();
+ public function getFileInfo($path){
+ return \OC\Files\Filesystem::getFileInfo($path);
+ }
+
+ public function getDirectoryContent($path){
+ return \OC\Files\Filesystem::getDirectoryContent($path);
+ }
+
/**
* return the content of a file or return a zip file containning multiply files
*