diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-11-15 22:08:08 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-11-15 22:08:08 +0100 |
commit | 288ecf318cbb742b2c6a40d6c6afedfafb3cafd4 (patch) | |
tree | 08b27e72584b4586bc79784d4572532ed096d179 /lib/files.php | |
parent | 5569f07e8d68716f01267c9f41e5f0be299cc67a (diff) | |
download | nextcloud-server-288ecf318cbb742b2c6a40d6c6afedfafb3cafd4.tar.gz nextcloud-server-288ecf318cbb742b2c6a40d6c6afedfafb3cafd4.zip |
add getFileInfo and getDirectoryContent to OC_Files for compatibility
Diffstat (limited to 'lib/files.php')
-rw-r--r-- | lib/files.php | 8 |
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 * |