|
|
|
|
|
|
|
|
|
|
|
|
|
|
$info = new \OC\Files\FileInfo('/test.txt', $this->getMockStorage(), null, [ |
|
|
$info = new \OC\Files\FileInfo('/test.txt', $this->getMockStorage(), null, [ |
|
|
'permissions' => \OCP\Constants::PERMISSION_ALL, |
|
|
'permissions' => \OCP\Constants::PERMISSION_ALL, |
|
|
'type' => FileInfo::TYPE_FOLDER, |
|
|
|
|
|
|
|
|
'type' => FileInfo::TYPE_FILE, |
|
|
], null); |
|
|
], null); |
|
|
|
|
|
|
|
|
$file = new \OCA\DAV\Connector\Sabre\File($view, $info); |
|
|
$file = new \OCA\DAV\Connector\Sabre\File($view, $info); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$info = new \OC\Files\FileInfo('/test.txt', $this->getMockStorage(), null, [ |
|
|
$info = new \OC\Files\FileInfo('/test.txt', $this->getMockStorage(), null, [ |
|
|
'permissions' => \OCP\Constants::PERMISSION_ALL, |
|
|
'permissions' => \OCP\Constants::PERMISSION_ALL, |
|
|
'type' => FileInfo::TYPE_FOLDER, |
|
|
|
|
|
|
|
|
'type' => FileInfo::TYPE_FILE, |
|
|
], null); |
|
|
], null); |
|
|
|
|
|
|
|
|
$file = new \OCA\DAV\Connector\Sabre\File($view, $info); |
|
|
$file = new \OCA\DAV\Connector\Sabre\File($view, $info); |