Add getOwner to Filesystem and View classes

This commit is contained in:
Michael Gapczynski 2013-02-02 18:50:40 -05:00
parent 23166aa016
commit 6093d961a0
2 changed files with 20 additions and 0 deletions

View File

@ -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
*

View File

@ -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
*