Ejemplo n.º 1
0
 /**
  * get all the metadata of a file or folder
  * *
  *
  * @param string $path
  * @return array an array of metadata of the file
  */
 public function getData($path)
 {
     $data = $this->storage->getMetaData($path);
     if (is_null($data)) {
         \OCP\Util::writeLog('OC\\Files\\Cache\\Scanner', "!!! Path '{$path}' is not accessible or present !!!", \OCP\Util::DEBUG);
     }
     return $data;
 }
Ejemplo n.º 2
0
 /**
  * @param string $path
  * @return array
  */
 public function getMetaData($path)
 {
     return $this->storage->getMetaData($path);
 }