@ -110,7 +110,7 @@ class Scanner extends BasicEmitter {
return null;
}
$data = $this->storage->getData($path);
$data = $this->storage->getMetaData($path);
$data['permissions'] = $permissions;
return $data;
@ -584,7 +584,7 @@ abstract class Common implements Storage {
/**
* @inheritdoc
*/
public function getData($path) {
public function getMetaData($path) {
$data = [];
$data['mimetype'] = $this->getMimeType($path);
$data['mtime'] = $this->filemtime($path);
@ -71,9 +71,9 @@ interface Storage extends \OCP\Files\Storage {
public function getStorageCache();
* @param $path
* @param string $path
* @return array
public function getData($path);
public function getMetaData($path);
@ -111,11 +111,11 @@ class Encryption extends Wrapper {
$fullPath = $this->getFullPath($path);
if (isset($this->unencryptedSize[$fullPath])) {
@ -527,10 +527,10 @@ class Wrapper implements \OC\Files\Storage\Storage {
return $this->storage->getData($path);
return $this->storage->getMetaData($path);