From 6326a3a9f723d062b22ad4d21f62c3086ff71952 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Sat, 23 Mar 2013 00:10:12 +0100 Subject: [PATCH] Some improvements for the Storage phpdoc --- lib/files/storage/storage.php | 9 +++++++++ 1 file changed, 9 insertions(+) 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); /** -- 2.39.5