From: Robin Appelman Date: Fri, 22 Mar 2013 23:10:12 +0000 (+0100) Subject: Some improvements for the Storage phpdoc X-Git-Tag: v6.0.0alpha2~1022 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6326a3a9f723d062b22ad4d21f62c3086ff71952;p=nextcloud-server.git Some improvements for the Storage phpdoc --- 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); /**