Skip to content

Commit

Permalink
Add getOwner() method to FileInfo and Node API
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Petry committed Nov 13, 2015
1 parent 1e9203c commit 84e5b76
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/public/files/node.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,4 +225,12 @@ public function getParent();
* @since 6.0.0
*/
public function getName();

/**
* Get the file owner
*
* @since 9.0.0
* @return string
*/
public function getOwner();
}
6 changes: 6 additions & 0 deletions lib/public/files/storage.php
Original file line number Diff line number Diff line change
Expand Up @@ -462,4 +462,10 @@ public function getAvailability();
* @param bool $isAvailable
*/
public function setAvailability($isAvailable);

/**
* @param $path path for which to retrieve the owner
* @since 9.0.0
*/
public function getOwner($path);
}

0 comments on commit 84e5b76

Please sign in to comment.