Add getUserFolder/getAppFolder to Server.

This commit is contained in:
Thomas Tanghus 2013-09-18 12:34:10 +02:00
parent 200e9691de
commit 4d3e7fa78a
1 changed files with 14 additions and 0 deletions

View File

@ -86,6 +86,20 @@ interface IServerContainer {
*/
function getCache();
/**
* Returns a view to ownCloud's files folder
*
* @return \OCP\Files\Folder
*/
function getUserFolder();
/**
* Returns an app-specific view in ownClouds data directory
*
* @return \OCP\Files\Folder
*/
function getAppFolder();
/**
* Returns the current session
*