Return file info from Node API

remotes/origin/fix-10825
Vincent Petry 12 years ago
parent 036456fe16
commit c6be491a89
  1. 7
      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);
}

Loading…
Cancel
Save