Skip to content

Commit 556e9ec

Browse files
authored
Merge pull request #60147 from nextcloud/fix/set-size-for-scanning
fix(files_external): set size to -1 for root entry
2 parents c3f0522 + 66fde3f commit 556e9ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/files_external/lib/Service/MountCacheService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ private function getCacheEntryForRoot(IUser $user, StorageConfig $storage): ICac
119119
$data = [
120120
'path' => '',
121121
'path_hash' => md5(''),
122-
'size' => 0,
122+
'size' => -1,
123123
'unencrypted_size' => 0,
124124
'mtime' => 0,
125125
'mimetype' => ICacheEntry::DIRECTORY_MIMETYPE,

0 commit comments

Comments
 (0)