Add getOwner() method to FileInfo and Node API

remotes/origin/dropdowns-bright
Vincent Petry 9 years ago
parent 1e9203cdef
commit 84e5b76d3c
  1. 8
      lib/public/files/node.php
  2. 6
      lib/public/files/storage.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();
}

@ -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…
Cancel
Save