mirror of
https://github.com/nextcloud/server.git
synced 2024-08-30 17:57:26 +02:00
Add getOwner() method to FileInfo and Node API
This commit is contained in:
parent
1e9203cdef
commit
84e5b76d3c
@ -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();
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user