diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-12-12 15:19:36 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-12-15 12:10:54 +0100 |
commit | c6be491a89a4eebe15bcb20f6e0b01f23a093761 (patch) | |
tree | 6d5d15feefded37fc5b1f7caa38d06687979c5ba /lib | |
parent | 036456fe16e258d1d5f803e9a99a10a45de542ba (diff) | |
download | nextcloud-server-c6be491a89a4eebe15bcb20f6e0b01f23a093761.tar.gz nextcloud-server-c6be491a89a4eebe15bcb20f6e0b01f23a093761.zip |
Return file info from Node API
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/files/node/node.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/private/files/node/node.php b/lib/private/files/node/node.php index b80db28e8ec..87d4a4b9156 100644 --- a/lib/private/files/node/node.php +++ b/lib/private/files/node/node.php @@ -43,7 +43,12 @@ class Node implements \OCP\Files\Node, FileInfo { $this->path = $path; } - private function getFileInfo() { + /** + * Returns the matching file info + * + * @return \OCP\Files\FileInfo + */ + public function getFileInfo() { if (!$this->fileInfo) { $this->fileInfo = $this->view->getFileInfo($this->path); } |