Skip to content
Snippets Groups Projects
Commit 6093d961 authored by Michael Gapczynski's avatar Michael Gapczynski
Browse files

Add getOwner to Filesystem and View classes

parent 23166aa0
No related branches found
No related tags found
No related merge requests found
...@@ -610,6 +610,16 @@ class Filesystem { ...@@ -610,6 +610,16 @@ class Filesystem {
return self::$defaultInstance->getPath($id); 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 * get the ETag for a file or folder
* *
......
...@@ -914,6 +914,16 @@ class View { ...@@ -914,6 +914,16 @@ class View {
return $files; 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 * get the ETag for a file or folder
* *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment