Skip to content
Snippets Groups Projects
Commit c6be491a authored by Vincent Petry's avatar Vincent Petry
Browse files

Return file info from Node API

parent 036456fe
Branches
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment