Update NativeFileInfo.php

We should return the actual bitmasked mode
This commit is contained in:
Roeland Jago Douma 2020-09-03 11:11:25 +02:00 committed by GitHub
commit e1d2a71d5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -113,7 +113,7 @@ class NativeFileInfo implements IFileInfo {
// Let us ignore the ATTR_NOT_CONTENT_INDEXED for now // Let us ignore the ATTR_NOT_CONTENT_INDEXED for now
$mode &= ~0x00002000; $mode &= ~0x00002000;
return $this->stat()['mode']; return $mode;
} }
/** /**