Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-03-23 03:10:12 +0400
committerRobin Appelman <icewind@owncloud.com>2013-03-23 03:10:30 +0400
commit6326a3a9f723d062b22ad4d21f62c3086ff71952 (patch)
treeb836b1620a749b5f8f9f0aac2c974fecbe6a8d28 /lib/files/storage
parent4f6e13e673a08ac71a34a2d2a5050c4c970454ef (diff)
Some improvements for the Storage phpdoc
Diffstat (limited to 'lib/files/storage')
-rw-r--r--lib/files/storage/storage.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/files/storage/storage.php b/lib/files/storage/storage.php
index 543cfa8f79d..1da82da2163 100644
--- a/lib/files/storage/storage.php
+++ b/lib/files/storage/storage.php
@@ -10,6 +10,8 @@ namespace OC\Files\Storage;
/**
* 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 {
/**
@@ -301,6 +303,13 @@ interface Storage {
*/
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);
/**