We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 21ab477 + d7fa94b commit cf1fc78Copy full SHA for cf1fc78
1 file changed
lib/private/Files/View.php
@@ -8,6 +8,7 @@
8
namespace OC\Files;
9
10
use Icewind\Streams\CallbackWrapper;
11
+use OC\Files\Cache\CacheEntry;
12
use OC\Files\Mount\MoveableMount;
13
use OC\Files\Storage\Storage;
14
use OC\Files\Storage\Wrapper\Quota;
@@ -1659,6 +1660,9 @@ public function putFileInfo($path, $data) {
1659
1660
if ($data instanceof FileInfo) {
1661
$data = $data->getData();
1662
}
1663
+ if ($data instanceof CacheEntry) {
1664
+ $data = $data->getData();
1665
+ }
1666
$path = Filesystem::normalizePath($this->fakeRoot . '/' . $path);
1667
/**
1668
* @var Storage $storage
0 commit comments