File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1338,9 +1338,6 @@ public function getFileInfo($path, $includeMountPoints = true) {
13381338 if (!Filesystem::isValidPath ($ path )) {
13391339 return false ;
13401340 }
1341- if (Cache \Scanner::isPartialFile ($ path )) {
1342- return $ this ->getPartFileInfo ($ path );
1343- }
13441341 $ relativePath = $ path ;
13451342 $ path = Filesystem::normalizePath ($ this ->fakeRoot . '/ ' . $ path );
13461343
@@ -1351,6 +1348,10 @@ public function getFileInfo($path, $includeMountPoints = true) {
13511348 $ data = $ this ->getCacheEntry ($ storage , $ internalPath , $ relativePath );
13521349
13531350 if (!$ data instanceof ICacheEntry) {
1351+ if (Cache \Scanner::isPartialFile ($ relativePath )) {
1352+ return $ this ->getPartFileInfo ($ relativePath );
1353+ }
1354+
13541355 return false ;
13551356 }
13561357
You can’t perform that action at this time.
0 commit comments