]> source.dussan.org Git - nextcloud-server.git/commitdiff
Some improvements for the Storage phpdoc
authorRobin Appelman <icewind@owncloud.com>
Fri, 22 Mar 2013 23:10:12 +0000 (00:10 +0100)
committerRobin Appelman <icewind@owncloud.com>
Fri, 22 Mar 2013 23:10:30 +0000 (00:10 +0100)
lib/files/storage/storage.php

index 543cfa8f79d5aadf5a0a73bc0596e8181251ecf1..1da82da2163402c09c1cf3848ab07a0dcb2557d0 100644 (file)
@@ -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);
 
        /**