Add getOwner to Filesystem and View classes
This commit is contained in:
parent
23166aa016
commit
6093d961a0
|
@ -610,6 +610,16 @@ class Filesystem {
|
|||
return self::$defaultInstance->getPath($id);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the owner for a file or folder
|
||||
*
|
||||
* @param string $path
|
||||
* @return string
|
||||
*/
|
||||
public static function getOwner($path) {
|
||||
return self::$defaultInstance->getOwner($path);
|
||||
}
|
||||
|
||||
/**
|
||||
* get the ETag for a file or folder
|
||||
*
|
||||
|
|
|
@ -914,6 +914,16 @@ class View {
|
|||
return $files;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the owner for a file or folder
|
||||
*
|
||||
* @param string $path
|
||||
* @return string
|
||||
*/
|
||||
public function getOwner($path) {
|
||||
return $this->basicOperation('getOwner', $path);
|
||||
}
|
||||
|
||||
/**
|
||||
* get the ETag for a file or folder
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue