Skip to content
Snippets Groups Projects
Commit 6326a3a9 authored by Robin Appelman's avatar Robin Appelman
Browse files

Some improvements for the Storage phpdoc

parent 4f6e13e6
Branches
No related tags found
No related merge requests found
...@@ -10,6 +10,8 @@ namespace OC\Files\Storage; ...@@ -10,6 +10,8 @@ namespace OC\Files\Storage;
/** /**
* Provide a common interface to all different storage options * Provide a common interface to all different storage options
*
* All paths passed to the storage are relative to the storage and should NOT have a leading slash.
*/ */
interface Storage { interface Storage {
/** /**
...@@ -301,6 +303,13 @@ interface Storage { ...@@ -301,6 +303,13 @@ interface Storage {
*/ */
public function getScanner($path = ''); public function getScanner($path = '');
/**
* get the user id of the owner of a file or folder
*
* @param string $path
* @return string
*/
public function getOwner($path); public function getOwner($path);
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment