Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions lib/private/Files/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
namespace OC\Files;

use Icewind\Streams\CallbackWrapper;
use OC\Files\Cache\CacheEntry;
use OC\Files\Mount\MoveableMount;
use OC\Files\Storage\Storage;
use OC\Files\Storage\Wrapper\Quota;
Expand Down Expand Up @@ -1659,6 +1660,9 @@ public function putFileInfo($path, $data) {
if ($data instanceof FileInfo) {
$data = $data->getData();
}
if ($data instanceof CacheEntry) {
$data = $data->getData();
}
$path = Filesystem::normalizePath($this->fakeRoot . '/' . $path);
/**
* @var Storage $storage
Expand Down
Loading