diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-03-23 00:10:12 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-03-23 00:10:30 +0100 |
commit | 6326a3a9f723d062b22ad4d21f62c3086ff71952 (patch) | |
tree | b836b1620a749b5f8f9f0aac2c974fecbe6a8d28 /lib/files/storage | |
parent | 4f6e13e673a08ac71a34a2d2a5050c4c970454ef (diff) | |
download | nextcloud-server-6326a3a9f723d062b22ad4d21f62c3086ff71952.tar.gz nextcloud-server-6326a3a9f723d062b22ad4d21f62c3086ff71952.zip |
Some improvements for the Storage phpdoc
Diffstat (limited to 'lib/files/storage')
-rw-r--r-- | lib/files/storage/storage.php | 9 |
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); /** |