diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-17 13:40:25 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-17 13:40:25 +0100 |
commit | 20c251a5755f7c218df2cafe9d5ba64036096815 (patch) | |
tree | 395609ac9ccc634987e4adbfca689fcab6f20832 /lib | |
parent | 74ce6d29e1dc2638911e52c2486e55b64538d6d8 (diff) | |
parent | d62f410f92f32008edd3d127b1005b4754a54319 (diff) | |
download | nextcloud-server-20c251a5755f7c218df2cafe9d5ba64036096815.tar.gz nextcloud-server-20c251a5755f7c218df2cafe9d5ba64036096815.zip |
Merge pull request #20188 from owncloud/webdav-exposeshareowner
Expose share owner id and display name via files webdav
Diffstat (limited to 'lib')
-rw-r--r-- | lib/public/files/node.php | 8 | ||||
-rw-r--r-- | lib/public/files/storage.php | 6 |
2 files changed, 14 insertions, 0 deletions
diff --git a/lib/public/files/node.php b/lib/public/files/node.php index aa1115f8c28..866b9b6f61f 100644 --- a/lib/public/files/node.php +++ b/lib/public/files/node.php @@ -225,4 +225,12 @@ interface Node extends FileInfo { * @since 6.0.0 */ public function getName(); + + /** + * Get the file owner + * + * @since 9.0.0 + * @return string + */ + public function getOwner(); } diff --git a/lib/public/files/storage.php b/lib/public/files/storage.php index 1c520026777..c42a2d05bc3 100644 --- a/lib/public/files/storage.php +++ b/lib/public/files/storage.php @@ -462,4 +462,10 @@ interface Storage { * @param bool $isAvailable */ public function setAvailability($isAvailable); + + /** + * @param $path path for which to retrieve the owner + * @since 9.0.0 + */ + public function getOwner($path); } |